question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resizing screen breaks dropdown position

See original GitHub issue

Describe the bug When I try to resize screen width while the select is opened, the dropdown panel position isn’t updated. Calling adjustPosition on dropdownPanel doesn’t help.

Reproducible example Try demo of appendTo and resize the width of screen

https://stackblitz.com/edit/z9k76d--run?file=src/append-to-example.component.html

Expected behavior When resizing screen with opened select I expect to update the dropdown position. Or provide an API so developer can explicitly update the positioning when needed.

Desktop (please complete the following information):

  • OS: macOS 11.1
  • Browser: Chrome 87
  • Ng-select: 4.0.4
  • Angular: 9.1.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Mar 30, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆

0reactions
github-actions[bot]commented, Jul 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dropdown menu does not work after resizing - Stack Overflow
The problem is that after i resize the window to be small enough to force the responsive menu collapse, use the dropdown (navigate)...
Read more >
How can I move my display across the screen/resize it - TechNet
On the left hand side select "Display -> Adjust Desktop Size and Position " - On the right hand side, under "2. Apply...
Read more >
RadComboBox autoresize and dropdown position - Telerik
Hello, I have two problems with my RadComboBox : 1. The RadComboBox doesn't resize automatically when we resize the browser window.
Read more >
resize - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The resize CSS property sets whether an element is resizable, and if so, in which directions.
Read more >
How to resize images in Photoshop - Adobe Support
Choose Auto Resolution to resize the image for specific printing output. In the Auto Resolution dialog box, specify the Screen value and select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found