Problem with Fanybox and MaterializeCSS

Skip to first unread message

Ben Reiter

Aug 18, 2017, 10:46:12 AM8/18/17
to FancyBox

Hello everyone,

I am new to this group, so a friendly hello to everybody :-)

I have a problem with Fancybox (v3.1.20) in combination with MaterializeCSS (v0.100.1) :

On mobile devices (or with a small browser window) the swipe function doesn't work anymore. On desktop devices it works fine.
I found out that it works again when I remove the css-file of MaterializeCSS.

The browser console says:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See
preventDefault @ jquery-3.2.1.min.js:3
Guestures.ontouchmove @ jquery.fancybox.js:3468
e @ jquery-3.2.1.min.js:2
dispatch @ jquery-3.2.1.min.js:3
q.handle @ jquery-3.2.1.min.js:3

This is the "affected" page:

Does anyone have an idea?

Best regards

Ben (from Germany, so please excuse any spelling mistakes)
Reply all
Reply to author
0 new messages