Skip to content

Scroll active tab to center rather than just minimally into view

Compare
Choose a tag to compare
@mikejacobson mikejacobson released this 14 Oct 03:38
· 10 commits to master since this release
983c0fc

On window resize, if the active tab is not in the visible area, auto-scroll it to the center of the visible area rather than just minimally to the edge of the visible area as was previously being done.

This was a request from a user that made a lot of sense to me. I'm not sure why I was previously just scrolling it as little as possible to bring it into the edge of the view.