react-slick
react-slick copied to clipboard
Auto Play - Clicked Dots Remains active
In the Auto Play demo page (https://react-slick.neostack.com/docs/example/auto-play-methods). When we click on a dot, the user is getting a feeling like two dots are active. Why are we having this behaviour ?
will be fixing this in my pull request.
this can be fixed with css
.slick-dots li button:focus:before { opacity: 0.25; }
.slick-dots li.slick-active button:focus:before, .slick-dots li button:hover:before { opacity: 1; }
This problem has not been fixed yet?
this can be fixed with css
.slick-dots li button:focus:before { opacity: 0.25; } .slick-dots li.slick-active button:focus:before, .slick-dots li button:hover:before { opacity: 1; }
It can't work on android
Any ideas?
Is there a fix for this yet? or a workaround?
this does not work for me: .slick-dots li button:focus:before { opacity: 0.25; } .slick-dots li.slick-active button:focus:before, .slick-dots li button:hover:before { opacity: 1; }
it works for me
.slick-dots li button:before { opacity: 0.25; } .slick-dots li button:focus:before { opacity: 0.25 !important; } .slick-dots li.slick-active button:focus:before { opacity: .75 !important; }
it works for me
.slick-dots li button:before { opacity: 0.25; } .slick-dots li button:focus:before { opacity: 0.25 !important; } .slick-dots li.slick-active button:focus:before { opacity: .75 !important; }
I had to add
.slick-dots li.slick-active button:before { opacity: .75 !important; }
to make it work (when clicking on a dot). Thank you, anyway
You can try .slick-dots li button:before { opacity: 1; color: rgba(0, 0, 0, 0.25); } .slick-dots li.slick-active button:before { color: #000; }
I think this issue is already resolved
.slick-dots li button:before { opacity: 0.25; } .slick-dots li button:focus:before { opacity: 0.25 !important; } .slick-dots li.slick-active button:focus:before { opacity: 0.75 !important; } .slick-dots li.slick-active button:before { opacity: 0.75 !important; }