Utilize scroll events and scroll offset to show/hide fixed elements. This would allow designers to make an element sticky as a user scrolls past a certain x or y point. This is a common pattern for bottom bar menus, submenus, and section headers, especially on mobile. It would also be helpful to trigger an animation when a user switches scroll direction, i.e., show a fixed header only when a user scrolls up.
Page 1 / 1
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.