Hi,
We get this strange error inside appSignal which I was able to track down as a Firefox bug see. I was unable to reproduce this issue locally but this seems like a possible solution, that is, replace all window.getComputedStyle (found in 2 places: updateSlides.js and utils.js) with this function:
Something to point out is that the app uses React 16.8.0 with custom SSR.
Environment
Swiper Version: swiper@^5.2.0 resolved as version "5.4.5"
Some example environments that got that error: Windows 10, Mozilla Firefox 86.0 / Windows 10, Mozilla Firefox 63.0 / Windows 7, Mozilla Firefox 86.0 / Windows 8.1, Mozilla Firefox 86.0 / Linux, Mozilla Firefox 63.0 / Windows 7, Mozilla Firefox 75.0 / Windows 10, Mozilla Firefox 78.0
Expected Behavior
No error being thrown
The text was updated successfully, but these errors were encountered:
I would need to update and deploy the latest version to production to be sure but window.getComputedStyle is still used inside the codebase so I would assume so. If you want however, I can give it a try.
Hi,
We get this strange error inside appSignal which I was able to track down as a Firefox bug see. I was unable to reproduce this issue locally but this seems like a possible solution, that is, replace all
window.getComputedStyle
(found in 2 places: updateSlides.js and utils.js) with this function:Something to point out is that the app uses React
16.8.0
with custom SSR.Environment
swiper@^5.2.0
resolved asversion "5.4.5"
Expected Behavior
No error being thrown
The text was updated successfully, but these errors were encountered: