Support » Plugin: OSM Map Widget for Elementor » Is it possible to disable scroll? (Zoom in and out)

  • Resolved Xusje

    (@xusje)


    Hi,

    First of all I’d like to thank and congratulate you with this wonderful plugin! Really saves me from most of the Google Maps hassle. So big praise to that!

    I was wondering if I’m maybe overlooking something, or that it just isn’t possible to disable scrolling on the map. Because it’s a little bit annoying, especially on mobile.

    Cheers,
    Steven

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Xusje

    (@xusje)

    Nevermind, already helped myself!
    I found a CSS trick that works.

    Add the following rule to your Custom CSS in the OSM widget.

    selector {
      pointer-events: none;
      }
    • This reply was modified 1 year, 6 months ago by Xusje.
    • This reply was modified 1 year, 6 months ago by Xusje.
    Thread Starter Xusje

    (@xusje)

    And if you only want the scrolling feature enabled on desktop, but disabled on mobile and tablet, make it like this:

    @media only screen and (max-width: 900px) {
    selector {
      pointer-events: none;
      }
    }
    • This reply was modified 1 year, 6 months ago by Xusje.
    Plugin Author James Arama

    (@intelchip)

    @xusje – Thank you for your feedback. Sorry for the late response. Wanted to let you know that the latest version of the plugin contains a scroll zoom toggle in settings.

    Thank you for the update. This is a very useful setting to have.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to disable scroll? (Zoom in and out)’ is closed to new replies.