spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: when sp-picker is open on mobile, screen is scrollable
trafficstars
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-picker
Expected behavior
When sp-picker is open in mobile, scrolling should be blocked or the menu should be dismissed.
Actual behavior
When the sp-picker menu is open on mobile, and I am able to scroll around while the menu is still open.
Screenshots
Video attached in this Google Drive link: https://drive.google.com/file/d/1ItsjsvXjiWJTtwYcrnI5Fhg0YSODwdgp/view?usp=sharing
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to Lightroom Academy article
- Make sure you are on a mobile device
- Use your finger to scroll up and down around where the menu area is and you will see the screen is scrollable while sp-picker is still displayed.
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
Want to make sure there was visibility into this approach to this situation: https://github.com/adobe/spectrum-web-components/issues/3849#issuecomment-1841552963
Dupe of #3849