Add scroll effects to the pagination component. #1596
-
|
When you click a pagination button at the bottom of a listing page, there should be the ability to force the browser to scroll to the top. It could work like how livewire pagination works https://livewire.laravel.com/docs/pagination#customizing-scroll-behavior |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
@elliottcoe For now (thought I haven't tested this yet), you should be able to accomplish the same thing with something like e.g.: |
Beta Was this translation helpful? Give feedback.
-
|
@elliottcoe thanks for the request and @jeffchown for the workaround. I've removed the answered, as while it works as a workaround, it's not the answer to this feature request which would be to add support into Flux itself. I've submitted a PR with a fix for this though 😁 |
Beta Was this translation helpful? Give feedback.
-
|
@elliottcoe and @gcw07 I've submitted a new PR #2401 with a fix for this. |
Beta Was this translation helpful? Give feedback.
@elliottcoe and @gcw07 I've submitted a new PR #2401 with a fix for this.