Skip to content
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

Popover causes jagging when content is big enough. #31115

Open
1 task done
loia5tqd001 opened this issue Jun 24, 2021 · 0 comments
Open
1 task done

Popover causes jagging when content is big enough. #31115

loia5tqd001 opened this issue Jun 24, 2021 · 0 comments
Labels

Comments

@loia5tqd001
Copy link

loia5tqd001 commented Jun 24, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Go to the code sandbox
  2. Hover on the Hover me button, you will see the jagging behavior of the scrollbar
    (its state instead of transformed from hide -> show it was hide -> show -> hide -> show)

What is expected?

The scrollbar appears smoothly from hide -> show instead of jagging like hide -> show -> hide -> show)

What is actually happening?

I guess it's because of autoAdjustOverflow

Environment Info
antd 4.16.5
React 17.0.0
System Windows 10
Browser Chrome

I've also asked this question on Stackoverflow at here: https://stackoverflow.com/questions/68064451/popover-of-ant-design-causes-jagging-when-content-is-big-enough-how-to-fix

You may want to give it a peek in order to see how other people say about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant