V
V
Vasily2021-04-24 21:46:27
Slick
Vasily, 2021-04-24 21:46:27

How to make it so that in the slider it would be possible, in addition to switching slides to the left to the right, to track the event up and down?

React.js technology

How to make it so that in the slider it would be possible to switch slides to the left to the right, track the event up and down?

I need to rank the content in the slider when clicking up and down on the keyboard, and with the mouse, we both drag the slider to the left to the right and drag it up and down so that an event is fired on which I will change, for example, the category of this slide. Well, on mobile, so that this mechanism works when swiping.

The essence of the feature is that I have a slider with cards, I scroll them in the slider from left to right, and when I want to transfer a card to another category, I swipe it up and it is removed from the current category and goes to the category above and the same if I swipe to the bottom, the card will move to the category below.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question