S
S
supertoliq2017-05-11 11:01:34
css
supertoliq, 2017-05-11 11:01:34

FancyBox 3 swipe only works on the first element, how to treat?

there are three inline elements, only the first one is swiped. On a mobile phone, 0 reactions in general, did anyone come across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy Kvasyuk, 2017-05-11
@EvgeniyKvasyuk

Most likely, the event is hung on an element that was display:none at the time the script was loaded and, of course, the event was not hung on it. Use delegation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question