Helpdesk for best responsive menu plugin
Home › Forums › Pro Support › Help stop content scrolling on touch devices
This topic contains 4 replies, has 2 voices, and was last updated by Fredrik Holmqvist 3 months, 2 weeks ago.
The option to stop content from scrolling isn’t doing any difference on iOS.
I’ve done some googling and come to the conclusion that a good way to achieve this would be to alter a content wrappers styles to overflow:hidden and position:fixed when the menu container is visible.
RM seems to only do overflow:hidden on the documents body.
Is there any way that I could add code so that RM also toggles the position property to ‘fixed’ of the body element, or better yet, to also specify which selector to alter (rather than body)
I don’t know JS but would be able to make changes with some guiding.
As you say iOS is difficult for this. Unfortunately your suggestion causes all sorts of other side effects.
You are free to use the Custom CSS option and there is a class based on the HTML element when a menu is loaded so you can use.
Please let me know if that helps.
Thank you for this tip, it solved my problem!
Glad it helped!
The topic ‘Help stop content scrolling on touch devices’ is closed to new replies.