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

**URL:** <https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692>\
**Category:** Feature Requests / Improvements\
**Created:** [March 27, 2026, 1:53pm UTC](https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692 "2026-03-27T13:53:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![larsactionhero](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/larsactionhero/32/28617_2.png) [@larsactionhero](https://forum.bricksbuilder.io/u/larsactionhero)\
**Post date:** [March 27, 2026, 1:53pm UTC](https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692/1 "2026-03-27T13:53:40Z")

</div>

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:**

> **[dragging - Documentation - Leaflet](https://leafletjs.com/reference.html#map-dragging)**
>
> See Translate built-in text for an example of how to provide translations. | Leaflet is a modern, lightweight open-source JavaScript library for building powerful interactive maps.

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

```

Best,  
Lars

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [March 31, 2026, 6:59am UTC](https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692/2 "2026-03-31T06:59:30Z")

</div>

Hi @larsactionhero,

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

Thank you,  
Matej

---

<div class="post-metadata">

**Author:** ![larsactionhero](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/larsactionhero/32/28617_2.png) [@larsactionhero](https://forum.bricksbuilder.io/u/larsactionhero)\
**Post date:** [March 31, 2026, 7:29am UTC](https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692/3 "2026-03-31T07:29:27Z")

</div>

Hi @Matej,

thank you! 🙂

---

<div class="post-metadata">

**Author:** ![bricks.assistant](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/bricks.assistant/32/32537_2.png) [@bricks.assistant](https://forum.bricksbuilder.io/u/bricks.assistant)\
**Post date:** [November 24, 2026, 9:33am UTC](https://forum.bricksbuilder.io/t/solved-leaflet-map-disable-dragging-breakpoint-based/38692/4 "2026-11-24T09:33:15Z")

</div>

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](https://bricksbuilder.io/release/bricks-2-5-beta2/) before testing, and let us know if you experience any issues. Beta builds are not intended for production sites.
