-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Closed
Description
I'm getting an error in console when swiping slides while simulating Samsung Galaxy S8+ in Vivaldi (Chromium-based) on Windows 10 using Reveal.js 5.0.2. I haven't checked to see if it affects mobile interaction more broadly.
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at _t.deactivatePage (reveal.esm.cd96fbcf.js:13:28379)
at Object.deactivate (reveal.esm.cd96fbcf.js:13:21463)
at _t.deactivateTrigger (reveal.esm.cd96fbcf.js:13:28524)
at reveal.esm.cd96fbcf.js:13:26152
at Array.forEach (<anonymous>)
at _t.syncScrollPosition (reveal.esm.cd96fbcf.js:13:25865)
at _t.onScroll (reveal.esm.cd96fbcf.js:13:28829)
The problem appears to occur at this line:
reveal.js/js/controllers/scrollview.js
Line 805 in 9d491c6
page.backgroundElement.classList.remove( 'present' ); |
page.backgroundElement
is assumed to be an object containing a classList
property, but it is null
instead. I tried adding a null-check, but I'm getting a RollupError and don't know anything about gulp so it's a rabbit-hole I'm not prepared to dive into right now.
Metadata
Metadata
Assignees
Labels
No labels