-
-
Notifications
You must be signed in to change notification settings - Fork 519
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 scroll_index to Column #7206
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7206 +/- ##
=======================================
Coverage 82.24% 82.24%
=======================================
Files 331 331
Lines 49420 49438 +18
=======================================
+ Hits 40647 40662 +15
- Misses 8773 8776 +3 ☔ View full report in Codecov by Sentry. |
@@ -939,6 +939,12 @@ class Column(ListPanel): | |||
will update the scroll position of the Column. Setting to | |||
0 will scroll to the top.""") | |||
|
|||
scroll_index = param.Integer(default=None, bounds=(0, None), doc=""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be implemented as a scroll_to_index
method which sends an event to the frontend (e.g. like the HTML diff approach).
Closes #6083
(poorly named btn; should be scroll to index 100)
Screen.Recording.2024-08-29.at.12.46.16.PM.mov