thomasloven / hass-browser_mod

🔹 A Home Assistant integration to turn your browser into a controllable entity and media player
MIT License
1.32k stars 187 forks source link

browser mod: popup dismiss when Mouse is moved #557

Closed criticallimit closed 1 year ago

criticallimit commented 1 year ago

Today I discovered that Browser mod: popup is dismissing when Mouse is moved. No matter if it is on time autoclose or not. Popup is not staying to close it at the "cross" in the popup, it autocloses on mouse movement.

I´m on Mac with Safari.

  - service: browser_mod.popup
    data:
      dismissable: true
      autoclose: true
      title: Eva
      content: OFFLINE
      timeout: 30000
      browser_id: ff519d05-bdfb65a5

Anybody can confirm?

howi42 commented 1 year ago

Yes, that is correct. According to the readme, this is what is expected. But it makes autoclose unusable on a mouse-driven interface, it is only usable on touchscreens.

thomasloven commented 1 year ago

The only point of autoclose is to close the popup if the mouse is moved. If you don't want that, don't use it.