question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On mobile web, two images are being slided on each click

See original GitHub issue

Hi,

When emulating mobile in Chrome or when trying on Samsung/LG phones, clicking on the arrows slides two slides instead of one. Demo here.

Also, upon the first slide, the following warning pops up, but I don’t know if it’s connected: Unable to preventDefault inside passive event listener due to target being treated as passive.

The funny thing is, if I pause the code on “slideToIndex”, and then release the debugging, the bug won’t appear - only 1 image will be slided, as should be. So this is probably a debouncing/throttling/MIN_INTERVAL/slideDuration/slideInterval issue, but I don’t know what exactly causes it and how to solve.

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
giladbrcommented, Feb 9, 2017

Updated to 0.7.12, solved the bug immediately, plus I got for free a full-screen button + play/pause + prettier arrows!!! Way to go!!! Closing the issue 😃

0reactions
xiaolincommented, Feb 9, 2017

Can you try the demo gallery, and see if it still happens on the LG device?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slide 1 & Slide 2 image moving when Slide 1 image clicked
From their documentation: It is possible to place multiple instances of Sequence.js on the same page, like so:.
Read more >
Animate a picture on your slide - Microsoft Support
Animate a picture on your slide · On the Animations tab, select an animation effect. · Click Effect Options, and then pick a...
Read more >
Google Slides: Adding Pictures and Shapes - GCF Global
Open the Insert menu, then select Image. ... You can choose an image from a number of sources. In our example, we'll Search...
Read more >
How to browse and compare photos in Lightroom Classic
To specify the select photo, click a photo in the work area or in the Filmstrip, or click the Select Previous Photo or...
Read more >
Create slideshows in Photos on Mac - Apple Support (HK)
In Photos on your Mac, quickly play a slideshow of photos from a day, or create a ... To change how long each...
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