Closed GiantCrocodile closed 2 years ago
I can reproduce the issue only with Firefox. No console error for Chrome.
This issue occurs when you enter or click on a page includes a block field from outside (another browser page/tab or anywhere except current browser page).
✅
Description
Console is spammed with this error since v3.6.3.
Expected behavior
No error thrown.
Screenshots
To reproduce
Your setup
v3.6.3
Console output
Uncaught TypeError: t.target.closest is not a function onOutsideFocus http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/index.js:1 emit http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/vendor.js:12 emit http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/vendor.js:12 focus http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/index.js:1 install http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/index.js:1 use http://localhost/kirby/media/panel/d569c10cce8640c7659eb139caaeb416/js/vendor.js:6