Skip to content

v1.5.1 — Fix Wikipedia popup not opening

Choose a tag to compare

@Xunil99 Xunil99 released this 27 Apr 21:31
· 301 commits to main since this release

Bugfix

(i) markers from v1.5.0 only flickered on click and didn't show their popup.

The card only ever loaded leaflet.js from the CDN; its companion CSS file was never loaded — only a hand-rolled minimal subset that covers tile/marker positioning was inlined. That was fine for the route polylines (which the integration uses by default), but it broke `bindPopup()`: the popup container appeared with no white background, no padding, no shadow and no proper hit area, so clicking an (i) marker showed a flash of unstyled text that vanished as soon as the cursor moved.

Now leaflet.css is injected via a `` tag from the same CDN before the JS loads. Wikipedia popups (and any future popups) now render and stay open as expected.

Installation

Update via HACS, restart Home Assistant, hard-refresh the browser (Ctrl+Shift+R / ⌘⇧R).