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

Custom dropdown developed using react-popper is not being sticky when dropdown is opened and being scrolled in safari ios and macos devices #462

Open
priyatham1188 opened this issue Feb 16, 2024 · 1 comment

Comments

@priyatham1188
Copy link

Reproduction demo

Steps to reproduce the problem

  1. Open the custom dropdown with fixed startegy and start scrolling on ios/macos safari browser
  2. Instead of dropdown staying at same position , Its starts scrolling weirdly and I see there is already similar reported on browser support page of documentation

What is the expected behavior?

It should not scroll where it should be acting as position:fixed like the way it does on other OS/browsers other then safari

What went wrong?

Instead of dropdown staying at same position , Its starts scrolling weirdly and I see there is already similar reported on browser support page of documentation
As u can see in the below screenshot the dropdown is scrolled on to header when I scrolled the page to the bottom

Any other comments?

Any idea on how to fix this?

Packages versions

  • Popper.js: ^2.11.6

  • react-popper:"^2.3.0"

  • WhatsApp Image 2024-02-16 at 3 40 30 PM

@priyatham1188 priyatham1188 changed the title Custom dropdown developed using react-popper is not being sticky when dropdown is opened and veing scrolled in safari ios and macos devices Custom dropdown developed using react-popper is not being sticky when dropdown is opened and being scrolled in safari ios and macos devices Feb 16, 2024
@priyatham1188
Copy link
Author

priyatham1188 commented Feb 16, 2024

I already tried the preventoverflow modifier suggested as per the documentation suggestions however its not working

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

No branches or pull requests

1 participant