-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Scroll on pagination change in list records #14681
base: 3.x
Are you sure you want to change the base?
Scroll on pagination change in list records #14681
Conversation
Does this scroll the table all the way to the top? Or just make sure that the pagination UI is still visible Please can you refactor this to not use |
it scrolls up to the table. i changed it to an event instead of using js |
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.
Can you please move this to the Filament\Tables\Concerns\CanPaginateRecords
trait, so it applies to all tables (using InteractsWithTables
) and not just the list page?
By default the scroll position is not affected when changing the page. I've added a method to scroll the wire component into the view.