βΏ π Feature Request: Disable Motion Control programmatically #21282
adrianw
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
Is is possible to disable the motion control sticky nav programmatically through say javascript, I've noticed that there is some JS running on the resize/scroll that always updates the navigation, so it's not just as simple as removing classes from the header.
We have an accessibility issue with sticky nav, where the user has increased the zoom size in the browser to an extent that the sticky nav is covering most of the screen.
Now I can detect the zoom size through javascript, so what I was wondering is if it would be possible to disable the sticky if a certain zoom size had been reached, therefore not breaking the navigation for the majority of users that don't zoom using browser.
Describe the solution you'd like
Have some access or way or documentation on how to turn off the resize.
Maybe it is available through some undocumented event
Describe alternatives you've considered
No response
Additional context
No response
All reactions