mattieha / slider-button-card

A button card with integrated slider
MIT License
443 stars 70 forks source link

It doesn't work with the app when scrolling the page #127

Open dreds77 opened 3 years ago

dreds77 commented 3 years ago

Checklist:

Release with the issue:

Last working release (if known):

Browser and Operating System:

Description of problem:

Javascript errors shown in the web inspector (if applicable):

Additional information:

dreds77 commented 3 years ago

Maybe I'm doing something wrong but I can't scroll the page

mbw2001 commented 3 years ago

I have the same issue, but I am thinking if this be solved by adding a feature that disables sliding when the entity is off?

vlumikero commented 3 years ago

+1

Would make sense to handle sliding up/down vs led-right differently.

theodorklauritzen commented 3 years ago

I think this is a duplicate on issue #52

amaciuc commented 3 years ago

@mattieha do you have updates about this issue?

This becomes frustrating when using the mobile app.

samboman commented 2 years ago

I notice the same on iOS

VNRARA commented 2 years ago

I think the best solution is to change the activation of the slider to a tap-and-hold to enable/slide the slider just like how Philips Hue app does it with individual lights.

chenzomo commented 2 years ago

I think the best solution is to change the activation of the slider to a tap-and-hold to enable/slide the slider just like how Philips Hue app does it with individual lights.

How does one go about doing this?

Here is my current code. type: custom:slider-button-card entity: light.ge_enbrighten_z_wave_plus_smart_dimmer slider: direction: left-right background: triangle use_state_color: true use_percentage_bg_opacity: true show_track: true toggle_on_click: false force_square: false show_name: true show_state: true compact: true icon: show: true use_state_color: true tap_action: action: more-info icon: mdi:billiards action_button: mode: toggle icon: mdi:power show: true show_spinner: true tap_action: action: toggle name: Basement padding: 5