Hi,
Maybe I'm wrong, but it seems to me that changing function in ease option doesn't work properly. I've got horizontal navigation menu and even though I've changed default ease behavior with t => t to use just linear animation it still behaves non-linearly.
Piece of code responsible for scrolling:
scrollIntoView(element, {
behavior: 'smooth',
scrollMode: 'always',
block: 'nearest',
inline: 'center',
ease: t => t,
});
Anyway, I really appreciate your work @stipsan :)
Hi,
Maybe I'm wrong, but it seems to me that changing function in
easeoption doesn't work properly. I've got horizontal navigation menu and even though I've changed defaulteasebehavior witht => tto use just linear animation it still behaves non-linearly.Piece of code responsible for scrolling:
Anyway, I really appreciate your work @stipsan :)