kglw-dot-net / discourse-gizzard-setlist

Discourse Plugin to turn a BBcode-style tag into a King Gizzard setlist (powered by kglw.net!)
https://forum.kglw.net
2 stars 0 forks source link

intermittent bug: setlist popover nonresponsive + `Popper` not defined #15

Closed alxndr closed 5 months ago

alxndr commented 5 months ago

Expected behavior

Tapping a [setlist] date should open a popover with the concert's setlist.

Observed behavior

0.2.3-alpha8 and earlier, Discourse v3.3.0.beta1

Tapping setlist does not show popover.

JS error observed in the console:

Uncaught ReferenceError: Popper is not defined
    at tippy.js@5:1:24214

The https://unpkg.com/popper.js@1.16.1/dist/umd/popper.min.js dependency may not be loading?
...nope, popper + tippy both still getting loaded, and eventually Popper is set in window:

Screenshot 2024-03-30 at 5 12 40 PM

Found when testing #1 ... unclear what relationship between these two is... when Popper isn't defined, does quote behavior work? ... sorta; pressing q does work as expected, but selecting text does not show the popup with "quote" buttons.

alxndr commented 5 months ago

solved after 0.2.3-alpha21 #28