tacraft-sociality / flarum-scroll-buttons
Add scroll up and scroll down buttons.
Package info
github.com/TaCraft-Sociality/flarum-scroll-buttons
Language:JavaScript
Type:flarum-extension
pkg:composer/tacraft-sociality/flarum-scroll-buttons
1.0.0
2026-10-25 14:02 UTC
Requires
- flarum/core: ^2.0.0-beta
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Display floating "back to top" and "go to bottom" buttons on the page, so you can jump with one click instead of dragging the scrollbar.
Features
- Floating buttons appear automatically after scrolling and hide when back at the top
- One-click jump back to the top or down to the bottom of the page
- Discussion-aware: jumps to the first / last post in the stream instead of a raw page scroll
- Admin settings to toggle each button independently
- Adapts to dark mode and follows the Flarum theme
- Lightweight, no extra dependencies, works out of the box with zero configuration
Installation
composer require tacraft-sociality/flarum-scroll-buttons
php flarum cache:clear