Scroll to top plugin screenshot
Dark mode ready
No multilingual support
Supports v5.x

Scroll to top by Germán Boquizo Sánchez

Community

Auto-scroll to top on pagination page change for Filament panels.

Tags: Tables
Supported versions:
5.x 4.x
Germán Boquizo Sánchez avatar Author: Germán Boquizo Sánchez

Package health

Automated checks of this plugin's Composer package

100 / 100
Security 100
Maintenance 100
Ecosystem 100
15 checks
  • Skipped: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Passed: Dependabot or Renovate configured
  • Passed: Dependency update cooldown configured
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 0 days ago.
  • Passed: composer.lock not committed by library — composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.2 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 1 month ago

Documentation

Scroll to Top

Scroll to top on pagination change for Filament panels

Latest Stable Version Total Downloads PHP License: MIT Tests


Automatically scroll the page back to the top whenever a user navigates to a new table page in Filament 4 and 5.


#Overview

When a user changes pages in a Filament table, the scroll position stays where it was — forcing them to manually scroll back up. This plugin adds a smooth scroll-to-top behaviour on every pagination change, with zero configuration.


#Version compatibility

Plugin Filament PHP
1.x 4.x – 5.x ^8.2

#📦 Installation

composer require gboquizosanchez/filament-scroll-to-top

Register the plugin in your panel provider (app/Providers/Filament/AdminPanelProvider.php):

use Boquizo\FilamentScrollToTop\ScrollToTopPlugin;

->plugins([
    ScrollToTopPlugin::make(),
])

#🔧 Usage

Add the ScrollToTop trait to any ListRecords page or RelationManager that should scroll on pagination:

use Boquizo\FilamentScrollToTop\Traits\ScrollToTop;
use Filament\Resources\Pages\ListRecords;

final class ListGames extends ListRecords
{
    use ScrollToTop;

    // ...
}
use Boquizo\FilamentScrollToTop\Traits\ScrollToTop;
use Filament\Resources\RelationManagers\RelationManager;

final class GamesRelationManager extends RelationManager
{
    use ScrollToTop;

    // ...
}

That's it. No further configuration needed.


#🧪 Testing

composer test

#Contributing

Contributions are welcome!

  • 🐛 Report bugs via GitHub Issues
  • 💡 Suggest features or improvements
  • 🔧 Submit pull requests with fixes or enhancements

#Credits


#📄 License

This package is open-source software licensed under the MIT License.

The author

Germán Boquizo Sánchez avatar Author: Germán Boquizo Sánchez

I am Germán, a web developer with experience in Laravel, FilamentPHP and PHP. I love programming, PHP and Laravel 🥰.

Contact me if you need some help with FilamentPHP or Laravel. I am always happy to help.

Plugins
2
Stars
38

From the same author