You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: Whether scrolling with the mouse wheel or swiping on a touchscreen device (including simulating a touchscreen device through the console), shouldBlockScroll can prevent the view from scrolling.
Currently: When sliding the screen, Popover will be closed, even if shouldCloseOnScroll is not set.
Env: Windows/Android Chrome
The text was updated successfully, but these errors were encountered:
AnYiEE
changed the title
[BUG] - Popover的shouldBlockScroll属性不能按预期工作
[BUG] - The shouldBlockScroll property of Popover does not work as expected
Jan 20, 2025
Note 1: Even if shouldCloseOnScroll is explicitly set to false, the Popover will still close when sliding the screen. It seems that the click event has a higher priority, or it may be related to issues with the overlay. Possible related issues: #4603
Note 2: Only set shouldCloseOnScroll to false, when scrolling on the outside overlay, the Popover will be closed, but scrolling within the Popover will not.
This issue can be reproduced on the storybook. https://storybook.heroui.com/?path=/story/components-popover--with-should-block-scroll
Expected: Whether scrolling with the mouse wheel or swiping on a touchscreen device (including simulating a touchscreen device through the console),
shouldBlockScroll
can prevent the view from scrolling.Currently: When sliding the screen,
Popover
will be closed, even ifshouldCloseOnScroll
is not set.Env: Windows/Android Chrome
The text was updated successfully, but these errors were encountered: