pettiboy / react-ui-scrollspy

Customizable Scroll Spy component for react which is Simple, Easy To Use and Lightweight with callback, typescript, auto-update URL hash and throttle support among others.

Home Page:https://pettiboy.github.io/react-ui-scrollspy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Active class to the last element

andreystefanenko opened this issue · comments

If the last element has a small height, it isn't selected at the bottom.

Expected result: if container was scrolled to the bottom, the last element has "active" class.

image