react-popper icon indicating copy to clipboard operation
react-popper copied to clipboard

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

Open priyatham1188 opened this issue 1 year ago • 1 comments

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 avatar Feb 16 '24 19:02 priyatham1188

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

priyatham1188 avatar Feb 16 '24 19:02 priyatham1188