javalent / initiative-tracker

TTRPG Initiative Tracker for Obsidian.md
GNU General Public License v3.0
144 stars 30 forks source link

🐞 non-passive event listener #286

Open scooper4711 opened 2 months ago

scooper4711 commented 2 months ago

Check for existing bug reports before submitting.

Expected Behavior

no warnings displayed during startup

Current behaviour

Seeing 4 of this warning during startup.

plugin:initiative-tracker:106 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

Reproduction

initiative-tracker 13.0.12 Latest load of pathfinder 2e export start the application, view the console.

Which Operating Systems are you using?

Obsidian Version Check

1.6.3 and 1.5.3

Plugin Version

13.0.12

Confirmation

Possible solution

No response