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

Add drag_to_scroll to scroll options of the table #3097

Closed
samitbasu opened this issue Jun 19, 2023 · 0 comments · Fixed by #3100
Closed

Add drag_to_scroll to scroll options of the table #3097

samitbasu opened this issue Jun 19, 2023 · 0 comments · Fixed by #3100

Comments

@samitbasu
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I would like to control the drag_to_scroll behavior of the table contents. Currently, the scroll options assembled by the TableBuilder and passed to the ScrollArea do not include this option. That means the ScrollArea gets the default behavior, which is drag_to_scroll = true, but I may not want that behavior.

Describe the solution you'd like

I would add the drag_to_scroll flag to the table builder and allow the builder to populate this flag.

Describe alternatives you've considered

The only work around at the moment is to disable the scrolling in the table itself, and put the table into a scroll area, where you can control the option. However, this is not the same, as the header of the table will scroll off the area.

Additional context

I can put this on PR assuming it's a reasonable feature to have.

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 a pull request may close this issue.

1 participant