© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
Marco Mapelli

Pagination and modal with tabs

I have a custom page where I display a table with an image. When I click on the image, a modal opens with tabs inside. In the list resource, I created:
public function setPage($page, $pageName = 'page')
{
    parent::setPage($page, $pageName);
    $this->dispatch('scroll-to-top');
}
public function setPage($page, $pageName = 'page')
{
    parent::setPage($page, $pageName);
    $this->dispatch('scroll-to-top');
}

The problem is that clicking on the tabs is interpreted as pagination, so the $this->dispatch('scroll-to-top'); is executed. How can I fix this?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Pagination inside modal
FilamentFFilament / ❓┊help
2y ago
Cursor Pagination Not Working with Filament Table Tabs
FilamentFFilament / ❓┊help
13mo ago
ListRecords with tabs and selectColumn
FilamentFFilament / ❓┊help
2y ago
Split with Tabs and Section
FilamentFFilament / ❓┊help
3y ago