Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

swipeleft/swiperight not working after first pageload but working afterwards #8644

Open
norberthnd opened this issue Mar 8, 2019 · 1 comment

Comments

@norberthnd
Copy link

After the page is loaded for the first time swiperight/swipeleft is not working, on mobile devices (also on emulated devices in chrome) but works on desktop.
After a reload the swiping works on mobile devices as well.
No error message is shown in the console.

Made a recording of the behaviour on the swipeleft demo page:
link to recording

@ppetree
Copy link

ppetree commented Jul 14, 2019

Don't set your swipe handlers until after mobileinit is fired.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants