Help stop content scrolling on touch devices

Home Forums Pro Support Help stop content scrolling on touch devices

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #66754
    Fredrik HolmqvistFredrik Holmqvist
    Participant

    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.

    #66757
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Fredrik,

    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.

    Peter

    #66756
    Fredrik HolmqvistFredrik Holmqvist
    Participant

    Thank you for this tip, it solved my problem!

    #66755
    Peter FeatherstonePeter Featherstone
    Participant

    Hey Fredrik,

    Glad it helped!

    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Help stop content scrolling on touch devices’ is closed to new replies.