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

made change in dnd kit documentation for the autoScroll prop #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikitasingla-MSFT
Copy link

@nikitasingla-MSFT nikitasingla-MSFT commented Nov 23, 2022

The auto scroll is not a boolean prop only, it takes an AutoScrollOptions as its value as well so just updating the readme for the same , as it's a bit confusing for the users that it takes only boolean value whereas it is open to so many options.
For eg, using the canScroll option user can limit the scroll to a specific container.
Screenshot 2022-11-24 at 9 13 47 AM

@nikitasingla-MSFT
Copy link
Author

@clauderic let me know if we want something else in the readme for the same.

@nikitasingla-MSFT
Copy link
Author

@clauderic Please have a look at this

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