Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari 16.0 or 17.0 jumps to top when clicking on dropdowns #2334

Open
dernich opened this issue Jan 5, 2024 · 5 comments
Open

Safari 16.0 or 17.0 jumps to top when clicking on dropdowns #2334

dernich opened this issue Jan 5, 2024 · 5 comments
Assignees
Labels
needs info Needs more information

Comments

@dernich
Copy link

dernich commented Jan 5, 2024

Describe the bug
Using Safari 16 or 17, all dropdowns that have searchable turned off makes the page jump to the top.

To Reproduce
Steps to reproduce the behavior (if example is not provided):
angular: v17.0.9
ng-select: v12.0.4

Ensure to have page with scroll bar and the select field is located at the end of the page.
Click on the select input to display the dropdown options.
The scroll is reset at the top of the page.

Expected behavior
Should open dropdown without the page scroll.

Desktop (please complete the following information):
OS: MacOS 14.1.2
Browser Safari
Version 17.1.2

@pavankjadda
Copy link
Collaborator

@dernich isn't this already fixed?

@pavankjadda pavankjadda self-assigned this Jan 10, 2024
@pavankjadda pavankjadda added the needs info Needs more information label Jan 10, 2024
@dernich
Copy link
Author

dernich commented Jan 11, 2024

@pavankjadda
Indeed the following commit fix the issue: 524d8a7

But, it has been reverted due to an accessibility issue. (see following commit 7ca64ce)

@dernich
Copy link
Author

dernich commented Feb 19, 2024

@pavankjadda any news ?

@mvanholstyn
Copy link

I ran into this issue this week as well.

@daniemo2
Copy link

Also facing this issue - any update here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Needs more information
Projects
None yet
Development

No branches or pull requests

4 participants