custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.97k stars 242 forks source link

Tapping on a button card that is nested in another button card triggers both actions on Android #590

Closed anthonyma94 closed 2 years ago

anthonyma94 commented 2 years ago

Checklist

Describe the bug I am using UI Lovelace Minimalist, which heavily relies on this plugin for their themes. Their room card uses custom_fields to nest buttons on top of a parent card. When pressing on either the parent or child card, both tap actions are triggered. I have tested this on a Galaxy Fold 3 and Galaxy Note 10 Plus, on Chrome, Firefox, and the HA companion app. This does not occur on desktop or iOS.

I've opened a separate issue on their repo, but their room card template looks like a pure button-card template to me.

Version of the card Version: 3.4.0

To Reproduce This is the configuration I used: I used the UI Lovelace Minimalist room card

Screenshots If applicable, add screenshots to help explain your problem.

Expected behavior A clear and concise description of what you expected to happen.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

anthonyma94 commented 2 years ago

v3.4.2 fixes this issue, closing it.