Swiper doesn't work at all on Firefox

See original GitHub issue

This is a:

  • bug

  • Swiper Version: Released on: October 30, 2020

  • Platform/Target and Browser Versions: Android and Fedora using Firefox on both

  • Live Link or JSFiddle/Codepen or website with isssue: https://vipertech.ch/

What you did

I integrate two Swiper that are perfectly working on Chrome.

Expected Behavior

Work on Firefox too.

Actual Behavior

Doesn’t work on Firefox

Before you open an issue, please check if a similar issue already exists or has been closed before. At one place I found that I could add .swiper-wrapper { display: flex; } .swiper-slide { display: table; } But it still doesn’t work.

You’ll quickly see that it work on chrome but not on firefox, it seems like there is no script.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vipertechofficialcommented, Nov 20, 2020

Thanks, it really was material design lite that wasn’t compatible with swiper without the dialog polyfill

It’s not about compatibility, your js was failing before getting to the line where your init swiper. Try…catch would avoid it:)

Yes you’re right but I mean, I did believe it would execute swiper js anyway even if the js fail at the polyfill things ^^

0reactions
vltanskycommented, Nov 20, 2020

Thanks, it really was material design lite that wasn’t compatible with swiper without the dialog polyfill

It’s not about compatibility, your js was failing before getting to the line where your init swiper. Try…catch would avoid it:)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slider not working in FireFox and no errors in console #1433
We have made a slider in various browsers it is working but in firefox the slides are not displaying.
Read more >
SwipeJS: Firefox issue - Stack Overflow
I can't provoke the behavior on the website - sometimes it looks just fine. The swipe functionality of swipe.js works with the translate()...
Read more >
Shopify - Swiper Slider not working on firefox / iphone
I am having an issue with swiper slider on firefox and iphone.The product page is working fine on chrome but the issue is...
Read more >
Touchpad gestures doesn't work in Firefox. Please add this ...
Touchpad gestures doesn't work in Firefox. Please add this very useful feature. ... Windows 10 gesture two finger swipe left and two finger...
Read more >
Touch swiping doesn't work for back and forward navigation
My interpretation is that browser.gesture.swipe doesn't control anything at all and some other ... don't think any setting change in Firefox will fix...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found