lovelace-mushroom
lovelace-mushroom copied to clipboard
[Feature]: limit tap target area to the button
Is your feature request related to a problem?
Right now, the entire element is a tap target. It's usually fine for things like lights as they can be toggled quickly but for more sensitive devices such as media players or TVs, accidental taps are a nuisance.
Current behavior is also inconsistent with the default Home Assistant UI where only the obviously demarcated UI controls are actually active.
Describe the solution you'd like
I propose an option to limit the tap targets to just the obvious button area (the little circle) so the action carries out only when this small area is tapped.
Describe alternatives you've considered
No response
Additional context
No response
I think the best may to do it is to add buttons in the control space for actions and keep the entire element to more-info menu.
Any news on this? I think the new Home app controls on iOS 16 do this well - only the icon is for toggling and the rest of the area is for more info/settings of the respective entity.
Would definitely appreciate this change/setting to change. This is exactly how the Apple Home app works after its latest update and it's a very natural way to use the cards.
The new tile card has implemented it on the last HA release (2022.11) and it even looks like the mushroom light card, but it will still be nice to have the same feature on mushroom cards.
Any news on it?
any chance to get the icon_tap_action from tile card for mushroom too? @piitaya and - sorry for OT - but the hover effect would be nice to match the stock design ❤️
@killtux what feature from Mushroom are you missing using tile card? Adding theses features to Mushroom can change a lot the structure of the card and can be a big breaking change for card_mod users for example.
this is definitely an issue on the light card, where the tap action is processed also when clicking on the slider to turn the light on and the buttons to change color