You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Unpoly modals together with Tabler (Bootstrap 5 based UI kit), the page scroll position jumps upward when the modal opens. Workaround/fix is provided below. I'm not sure if this is an Unpoly bug.
The provided workaround suggests this is caused by a height/min-height interaction between Tabler's page wrapper and Unpoly's modal scroll locking. It would be helpful to know whether the jump happens at the moment Unpoly applies its overlay classes, or only after focus is moved into the modal. If it is the former, a minimal CSS-only regression case around root/page height could make this easier to fix without special-casing Tabler.
Activity
hiSandog commentedon Jun 30, 2026
The provided workaround suggests this is caused by a height/min-height interaction between Tabler's page wrapper and Unpoly's modal scroll locking. It would be helpful to know whether the jump happens at the moment Unpoly applies its overlay classes, or only after focus is moved into the modal. If it is the former, a minimal CSS-only regression case around root/page height could make this easier to fix without special-casing Tabler.