Multiple dots selected if mixing slide and touch (click)
See original GitHub issueshort description of the bug / issue, provide more detail below.
The problem could be reproduced on the demo page http://kenwheeler.github.io/slick/ with any touch device. E.g. on “single item”
====================================================================
[ paste your jsfiddle link here ]
not needed - error on demo page reproducible: http://kenwheeler.github.io/slick/
====================================================================
Steps to reproduce the problem
- surf to http://kenwheeler.github.io/slick/ on any touch device
- click (touch) the 3rd dot on “single item” slider -> “3” is displayed and 3rd dot is marked
- slide back (using slide gesture) to “2”
====================================================================
What is the expected behaviour?
only the 2nd dot should be marked after sliding to “2”
====================================================================
What is observed behaviour?
“2” is displayed but 2nd and 3rd dot are marked
====================================================================
More Details
- reproducible on any touch device
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
How do you create an Android View Pager with a dots ...
All we need are: ViewPager, TabLayout and 2 drawables for selected and default dots. Firstly, we have to add TabLayout to our screen...
Read more >Toggles - Human Interface Guidelines
A toggle lets people choose between a pair of opposing states, like on and off, using a different appearance to indicate each state....
Read more >Change text alignment, indentation, and spacing in ...
To change the horizontal placement of text, in the Alignment box, choose Left, Center, Right, Justified, or Distributed. Justified adds spacing between words...
Read more >Top 20 PowerPoint tips and tricks - YouTube
A step-by-step tutorial on my top 20 Microsoft PowerPoint tips and tricks for 2021. The PPT Tips and tricks are the latest and...
Read more >Figma Project: Build a Navigation Menu with Components
Figma is free to use. Sign up here: http://bit.ly/2KaMEjBIn this video, we'll show you how to build a website navigation bar with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mattcdowning this issue is related with focus handling. Looks like focus is not removed on swipe. I manage to get a CSS fix for this issue:
Not sure why they add style based on focus when the
.slick-active
should handle the styling for an active dot.@bracketslash Sorry haven’t looked into this anymore since @efigarolam’s fix worked for us.