button-card: "lock" option not working on mobile devices since update to 4.0.0
Checklist
- I updated the card to the latest version available
- I cleared the cache of my browser
Describe the bug The “lock” option is not working on my mobile devices (iOS) after upgrading to 4.0.0 (app and browser). Works with no issue on the desktop browser version (Windows). The button still works (action), but does not respect the lock functionality and also does not show the lock icon.
Version of the card Version: 4.0.0
To Reproduce This is the configuration I used:
show_name: true
show_icon: true
type: custom:button-card
tap_action:
action: toggle
entity: input_boolean.all_off
icon: mdi:power
lock:
enabled: true
duration: 5
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior Lock functionality working on the mobile version is the same as before upgrading to 4.0.0 (as described in the config reference and working on the desktop version)
Desktop (please complete the following information):
- Browser [chrome]
- Version [115.0.5790.110]
Smartphone (please complete the following information):
- Device: [iPhone 14]
- OS: [iOS 16.5.1]
- Browser [chrome]
- Version [115.0.5790.130]
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 23 (5 by maintainers)
Commits related to this issue
- fix: lock would not display on many browsers Fixes #740 — committed to custom-cards/button-card by RomRider a year ago
- chore(release): 4.1.0-dev.3 [skip ci] ## [4.1.0-dev.3](https://github.com/custom-cards/button-card/compare/v4.1.0-dev.2...v4.1.0-dev.3) (2023-08-01) ### Bug Fixes * lock would not display on many b... — committed to custom-cards/button-card by semantic-release-bot a year ago
- chore(release): 4.1.0 [skip ci] ## [4.1.0](https://github.com/custom-cards/button-card/compare/v4.0.1...v4.1.0) (2023-08-03) ### Features * **templates:** Support for one time evaluation of js temp... — committed to custom-cards/button-card by semantic-release-bot a year ago
Yep the fix in the beta works great for me!
Could anyone confirm this is now working with the latest beta?
Note to myself: Don’t F#(@$* touch CSS ever again…
I don’t have a iDevice to test 😦 But as always apple is doing their own interpretation of HTML/CSS… It’s always a PITA. Will see what I can do