button-card icon indicating copy to clipboard operation
button-card copied to clipboard

Haptic feedback lost on button

Open Acdz9 opened this issue 2 years ago • 2 comments

Checklist

  • [OK] I updated the card to the latest version available
  • [OK] I cleared the cache of my browser

Describe the bug There's no haptic feedback on popup buttons with browser mod 2.

Version of the card Version: 4.1.1 and 4.1.2-dev.1

To Reproduce This is the configuration I used:

type: custom:button-card
entity: sensor.sensor
tap_action:
  haptic: success
  action: fire-dom-event
  browser_mod:
    command: call-service
    service: browser_mod.popup
    data:
      title: Title
      content:

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

Expected behavior Recover vibrations on popup buttons

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [home assistant IOS app]
  • Version [2023.7]

Additional context Add any other context about the problem here.

Acdz9 avatar Oct 10 '23 22:10 Acdz9

Already submitted

https://github.com/custom-cards/button-card/issues/760

ASNNetworks avatar Oct 13 '23 01:10 ASNNetworks

Hello,

I understand that the problem has been solved in version 4.1.2-dev.1. However, unless I'm mistaken, it doesn't work for me. I do get feedback on the classic action buttons but not on the service popup browser mod buttons.

Thank you for your help.

Acdz9 avatar Oct 13 '23 05:10 Acdz9