X
X
xdvz2020-06-18 16:36:20
JavaScript
xdvz, 2020-06-18 16:36:20

How to fix bug in React JS slider?

Hello
The slider is tied to scrolling, on the right there is a navigation menu between slides. It consists of 3 slides and the 4th button scrolls to the anchor and ..

for some reason, when you select the 3rd menu item, scrolling to the anchor works.

the code is here github. com/vivdebug/bannerslider1
Please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xenonhammer, 2020-06-18
@xenonhammer

Add another slide and see if the situation is the same.
Here the error is unambiguous, we must look for its beginning, perhaps the matter is in the slide itself. See different options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question