DBuit/light-popup-card

Popup not working after updating HA to version 0.113

tomerbs opened this issue · 11 comments

Hi,
All popup cards not working after updating HA to version 0.113

Confirmed same issue with HA v0.113.0.

popup.js:20 Uncaught TypeError: Cannot read property 'close' of undefined
    at popUp (popup.js:20)
    at HTMLElement._createPopup (hammer.js:2643)
    at HTMLElement._hold (hammer.js:2643)
    at HTMLElement._handleClick (hammer.js:2643)
    at Array.<anonymous> (hammer.js:2643)
    at Manager.emit (hammer.js:2519)
    at PressRecognizer.emit (hammer.js:1923)
    at PressRecognizer.tryEmit (hammer.js:1555)
    at PressRecognizer.recognize (hammer.js:1602)
    at Manager.recognize (hammer.js:2368)

Uncaught (in promise) TypeError: Cannot read property 'substr' of undefined
    at n (app.5aafc0f2.js:43806)
    at HTMLElement.value (chunk.228a62b8fe14b50890cb.js:45547)
    at HTMLElement.value (chunk.228a62b8fe14b50890cb.js:45178)
    at HTMLElement.e.showDialog (card-mod.js:5)
    at E (app.5aafc0f2.js:41299)

Seems this is most likely an issue related to https://github.com/thomasloven/lovelace-card-tools. @thomasloven has made some changes that hopefully will resolve this issue.

Do you know if we have to update something or it will be just updated in the popuc card themselves ?
my popup are all dead too.

DBuit commented

If you guys use my homekit card, i just updated the card.
This should fix the pop-ups in that card.

DBuit commented

If you use the popup in combination with browser_mod check out the readme. because the style: part to make the popup look better is also changed.

In my setup it is still not working

DBuit commented

How do you use the light pop-up card? @tomerbs

DBuit commented

@tomerbs this card is Just a lovelace card. If browser_mod is not opening a pop-up check the github of browser_mod for solutions. I cant help with that