I am developing a new theme, based on the Dawn 8.0 theme.
I am having a lot of issues with the slider-component.
Slider works just fine on mobile, but for whatever reason it does not work when dragging with the mouse on a desktop.. Only if you click the navigation buttons.
I did attempt to search for older posts regarding this issue, but the most recent post with a solution is from 2021. The slider-component has since been replaced, by the looks of it.
Ive had a quick look round. Though its not the same this article is related and might give you the help you need to implement it on the featured collection slider.
Sorry. I have probably been a bit hasty sending you the above. I think its just to add a slider to that component rather than the anything to do with swipe on mobile.
I have looked at the component on mobile asd this is the class that appears responsible for the scrolling on mobile (in component-slider.css)
It actually looks like the desktop class already has all the scroll settings set already, with the proper rem values. So there has to be some other reason for it not to work. Seems like it was actually that scroll should work on desktop, since all the settings are there.
I think this can only be done with javascript âdraggableâ from what I can see. You could add some nouse down/up classes to the component in global.js