Scroll Buttons

License Latest Stable Version Total Downloads

A Flarum extension. Add scroll to top and scroll to bottom buttons.

Features:

  • You can enable/disable scroll to top and scroll to bottom buttons.
  • Custom css for scrollbars.


Installation

Install with composer:

composer require datlechin/flarum-scroll-buttons:"*"

Updating

composer update datlechin/flarum-scroll-buttons:"*"
php flarum cache:clear

Links

V0.1.1 datlechin/flarum-scroll-buttonsb6b2a23

  • You can enable/disable scroll to top and scroll to bottom buttons.
  • The scroll buttons will be hidden when scrolltop is 0 and scrollbottom is max.
  • Custom css for scrollbars.

Update

composer update datlechin/flarum-scroll-buttons:"*"
php flarum cache:clear

It works in harmony with this plugin. Thank you for your contribution.


I think using these icons as icons gives a simpler look. Or if you tell me how to do it, I can do it myself with custom css. My recommended icon

    datlechin Hey, it just occurred to me. Adding transparency might be a good idea. You can add it to your notebook.

      V0.1.2

      • Increase spacing between ScrollButtons with acpl/mobile-tab and itnt-uitab extensions.
      • Allow customize the icon of the scroll buttons

      Update

      composer update datlechin/flarum-scroll-buttons:"*"
      php flarum cache:clear

      I love this extension! I once tried to make the button to scroll down, but I had a lot of problems because it broke the scroll position when going back from a discussion, it seems that with this extension it works fine 🙂

      By the way, is there any reason why styles are added to the scrollbars with the extension? I use the ones I have in the CSS but the extension seems to replace them with different ones.

        Umutcan You can custom the transparency for scroll buttons on Custom Styles section

        .ScrollButtons-button {
           opacity: 0.4;
        }

          What download command do I need to run just to be able to download this version? The Version I Want: V0.1.2