maykar/lovelace-swipe-navigation

Swipe an Climate Control doesn't work well together

Closed this issue · 4 comments

I have a Thermostat Card configured controlling a climate.

image

With Swipe Navigation enabled, I'm unable to easily change the temperature on the orange part of this picture.
Most of the time Swipe Navigation takes over and swipes tabs.

Any ideas on how to fix this?

You should disable prevent_default. You can also change swipe_amount.

This shouldn't be happening as the thermostat card is included in the list of cards/elements where swipe-navigation should be ignored.

Will look into it.

I can't replicate this. Not only are swipes ignored on the thermostat card by default, but they are ignored on the slider element it uses as well.

What is your swipe nav config?

Hmmm, it seems ok for me today... maybe I had phat fingers ;-(

I've just tried and checked my settings and they are these:

swipe_nav:
  wrap: true
  animate: swipe
  prevent_default: true
  swipe_amount: 50

I think we can close this one now as a false positive.