Skip to content

expui 1.0.0.12: scrollToStart on pages with a fixed header

Choose a tag to compare

@se7enxweb se7enxweb released this 18 Oct 08:55
· 77 commits to main since this release

Updated

  • exp::sticky: scrollToStart focuses the form's first text field without scrolling again (focus({ preventScroll: true })). On a page with scroll-padding-top, such as admin4's and admin4l's fixed header, the focus scrolled the field to the middle of the window and undid the scroll to the start; the expui/test case "scrolls to the start and focuses the first text field" failed there.