SOLVED: Leaflet Map: disable dragging (breakpoint-based)

Hi @Matej,

here’s another request for the Leaflet map element.

Feature:
Option to disable dragging (breakpoint-based).

Since you won’t move the map while tapping & scrolling on small (mobile) devices, it would be nice feature to enable/disable it breakpoint-based.

Docs:

// example
var map = L.map('map', {
  center: [51.505, -0.09],
  dragging: BOOLEAN
});

Best,
Lars

Hi @larsactionhero,

I’ve added this improvement request to the internal task tracker. :slight_smile:

Thank you,
Matej

Hi @Matej,

thank you! :slight_smile:

We’ve addressed this in Bricks 2.5-beta2 (beta release), now available for manual download from your Bricks account.

You can now set the Leaflet Map’s Dragging option separately at each breakpoint.

Please read the changelog entry before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.