-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[BUG] - The shouldBlockScroll
property of Popover
does not work as expected
#4605
Comments
Popover
的shouldBlockScroll
属性不能按预期工作shouldBlockScroll
property of Popover
does not work as expected
Note 1: Even if Note 2: Only set |
I think the following behavior is expected:
The scroll should only be prevented when I might not fully understand the intent of the issue, so could you please provide a more detailed explanation? |
It was a typo, please check again. This is a issus about two props only one title is written. Please combine with the notes. |
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, the view is still scrollable, and
Popover
will be closed, even ifshouldBlockScroll
is set totrue
.Env: Windows/Android Chrome
The text was updated successfully, but these errors were encountered: