Communism – Capitalism
overanxious – carefree
gas – electricity
Neither extreme is good. But there's more than just black and white!
It's hybrid-time! …
unbelievably (even to me! :lol:) improved the dragging performance of the scroll bars :up:
Looks to me like it's ready for an RC soon. What do you think? 🙂
I added the possibility to scroll elements via the arrow keys. In contrast to the mouse wheel implementation I decided not to start scrolling the page when the element reaches the top / bottom since you usually only intend to scroll this particular element if you click it (There's one little moment of scrolling happening to the page which is needed for modern scroll to realize that the element finished scrolling).
I once again stripped down the scrolling function for the arrow keys. There's just one single calculation left: the amount of scroll to be done. So that's as minimalist as it can possibly get :up:
For those of you who are wondering right now what that intro has to do with modern scroll, here's the answer: 😉
Iframes don't leave any choice, but to use solution number two (referring to the last post) cause it's the only way to get rid of the standard bars whereas the normal page's performance is better with solution number one.
That's why I hereby made modern scroll "bi-solutional" 😆
It hopefully resolves most of the issues and speeds up things again.
I additionally rewrote parts of the scrolling functions to get maximum performance out of them and tried to implement the needed "modal"-awareness (the main page used to scroll, too whenever an inner element was scrolled).
I think it's a huge step into the right direction :up:
Let me know about your experience with it 😉