Disable touch on map card?

Hi!

Is their any way to disable the touch on a map card?

When i scroll on my phone i want to be able to scroll even tough i scroll on the map card :grinning_face_with_smiling_eyes:

Try playing with css property ā€œpointer-events: noneā€ for a corresponding element with card-mod.

1 Like

Download the love-lock-card from hacks and set the map to timeout. Tap will unlock, then drag works. Saves a lot of miss-swiping.

type: custom:love-lock-card
popup: timeout
cards:
  - type: map
    entities:
      - entity: device_tracker.1
      - entity: device_tracker.2
    hours_to_show: 24
    theme_mode: auto
1 Like

Iā€™m late to the game on this, but for anyone that tries the lock-card approach mentioned above, it worked for me. HOWEVER, I was required to add another map to the same page and then update the visibility so that it didnā€™t show for any HA user. For some reason, unless this other map was hidden all the time, the initial map I wanted to lock would occasionally throw a yaml error.