Image: Closing fullscreen image (from preview) breaks scrolling #4401
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I'm using an Image on my site with the
preview
property. When I clicked the image (to show it in fullscreen), and then close the fullscreen mode (by clicking outside the image), I cannot scroll anymore on the page. If you close the fullscreen mode by clicking the X in the top-right, scrolling is preserved.You can see the same effect on your Component overview page for Image: https://primevue.org/image/#preview
Click the preview, then click on the gray background mask to close the fullscreen mode, and now scrolling doesn't work.
Reproducer
https://primevue.org/image/#preview
PrimeVue version
3.32.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chome, Firefox (On a M1 Mac)
Steps to reproduce the behavior
Expected behavior
I expect scrolling to work irregardless of how we close the preview.
The text was updated successfully, but these errors were encountered: