mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-19 18:04:25 -05:00
Moving focus before letting the sticky JS set the position of sticky elements means focus is shifted to them when they are still in the page. This causes the browser to scroll so the focused elements are visible. This moves when focus is set to after the sticky JS has set position therefore avoiding the issue.
7.7 KiB
7.7 KiB