-
Notifications
You must be signed in to change notification settings - Fork 6
ios ha app - slider not working #21
Comments
Are you sure it's not because you're not tapping the actual thumb. In my little experience I have with ios, that seems to be the problem. I don't know how to get around that on ios and I don't have one to test it with. |
I tryed on iphone 6 plus and ipad mini 3, and is not working. |
What exactly is it, that's not working? Does it not slide correctly? Does it not show the correct value? Does it show some red error message where the card should be? If so, please prove a screenshot of error message. Please provide following information:
I have an old Ipad laying around somewhere I can test it out with when I have time. But I'm unfortunately strapped for time right now. Working full time at a new job and renovating house in my spare time. I will update here when I have had time to test around with it. If enough other people start complaining, I might do it a bit quicker. So everyone else, just comment if you are experiencing the same problems. |
Phew, it isn’t just me. 🥲 IMG_5235.MP4iOS doesn’t denote screen interactions in recordings, unfortunately. But this is a video showing you can tap on a certain percentage but trying to slide doesn’t do anything. You can see it scroll a little at the end which is a side effect of a slightly angled attempt to slide the bar. I haven’t gotten around to publishing my full YAML config yet, but this section is mostly grabbed from here: https://github.com/TBens/lovelace-ui-minimalist/blob/db4b250248c4c6a1666061d358844ee529c4cd99/lovelace/button_card_templates/button_card_templates.yaml#L615 |
Okay, sorry you guys are having trouble with the card. I will see if I can find some time to test it with the old ipad again soon. |
Found a solution for this problem: Added the thumbWidth: '20px' and a little color diff.
|
Ok, so there is no problem? It's just because on iOS you have to touch the thumb to slide it, or what? |
Just to update. I am 100% sure it's because of the way IOS handles input ranges. You just have to touch the slider thumb for it to register the sliding effect. I am planning on trying out some different npm touch slider packages now that the project uses node/npm. Hopefully someone else has already made a slider that works better on ios. |
This repo has been archived, becuase of some major changes breaking peoples setups. Read the readme to find new repo link. You are more than welcome to make this issue on the new repo. |
Slider card not working on ios.
On android is working ok.
The text was updated successfully, but these errors were encountered: