cody0-0 / jahresprojekt

1 stars 0 forks source link

[BUG] Previews not loading in Firefox, Opera or Safari #45

Closed cody0-0 closed 4 months ago

cody0-0 commented 4 months ago

Describe the bug

The dynamically loaded previews do not load when using browsers.

See Additional Context

To Reproduce

Steps to reproduce the behavior:

  1. Open index.html on Opera, Firefox or Safari (only tested on Safari)
  2. Scroll and see:

Screenshots No content:

image

Error MSG: [Error] TypeError: undefined is not an object (evaluating 'window.navigation.addEventListener') Global Code (load-previews.js:24)

Additional context

How about we don't use function officially declared "Experimental"?

image

Related PR: #35 Source

duevil commented 4 months ago

Fixed with removing the automatic update using the experimental navigation and using a manual update on change in 731a7cb