You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short:
When embedding a card into another card, the tap_action of that embedded card triggers the tap_action of the mother card following by the action of the embedded card.
Long:
I have a custom button card setup with a grid layout.
Into one of the cells of that grid, I've got a second custom button card setup.
The 'mother' card has a tap_action of more-info.
The embedded card has a tap_action of navigate.
When I press the embedded button, it first triggers te more-info dialog, then triggers the navigate action.
Is it possible to create my card so that when you press on the area of the embedded card, it triggers the navigate action, and when you press on the rest of the card, it triggers the more-info dialog?
Expected behavior
When pressing the embedded card it should trigger the navigate action.
When pressing anywhere in the 'mother' card but the embedded card, it should trigger the more-info dialog.
Desktop:
Browser: Google Chrome
Version: 87.0.4280.88 (Official build) (64-bits)
Smartphone:
Device: Huawai Mate 10 Pro
OS: Android 10 / EMUI 10.0.0
Browser: Google Chrome
Version: 87.0.4280.101
The text was updated successfully, but these errors were encountered:
Short:
When embedding a card into another card, the tap_action of that embedded card triggers the tap_action of the mother card following by the action of the embedded card.
Long:
I have a custom button card setup with a grid layout.
Into one of the cells of that grid, I've got a second custom button card setup.
The 'mother' card has a tap_action of more-info.
The embedded card has a tap_action of navigate.
When I press the embedded button, it first triggers te more-info dialog, then triggers the navigate action.
Is it possible to create my card so that when you press on the area of the embedded card, it triggers the navigate action, and when you press on the rest of the card, it triggers the more-info dialog?
Button- Card Version: 3.4.0
HomeAssistant version: 0.117.5 (Docker core version)
This is the configuration I used:
Expected behavior
When pressing the embedded card it should trigger the navigate action.
When pressing anywhere in the 'mother' card but the embedded card, it should trigger the more-info dialog.
Desktop:
Smartphone:
The text was updated successfully, but these errors were encountered: