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

Allow disabling scroll when dragging behaviour #2691

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fcheung
Copy link

@fcheung fcheung commented Dec 4, 2024

This PR allows disabling the autoscroll introduced by #2230, by adding a new prop (which defaults to true for backwards compatibility)

As noted in #2423 this can result in somewhat jumpy scrolling. It also causes issues with some layouts. for example if I load the sandbox at https://codesandbox.io/p/sandbox/react-big-calendar-example-forked-djgjc9, scroll down to the bottom of the page & resize an event then as soon as I start resizing the page jumps to the top

@fcheung fcheung changed the title allow disable drag scroll Allow disabling scroll when dragging behaviour Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant