React-Fast-Accordion
React-Fast-Accordion copied to clipboard
Feature: Automatically scroll element into view if needed
We need something like scrollIntoViewIfNeeded but it's not majorly supported and doesn't have smooth behaviour
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded
Content scroll height needs to be added as well while scrolling the element
I would like to give this issue a try.
Awesome. Just send a PR when you are done, use the existing example code to check if it scrolls automatically in the bottom.