Hello, there is a task that is easier to explain with a picture:
I have a variable that points to the element in the array that needs to be displayed. I understand that because of this index, when it happens prerendered component shift, but how to fix it I don't know.
if it would be possible to insert the necessary elements in any insertBefore() at the beginning and appendChild() to the end - it would be much easier)
PS maybe even more likely, the idea is to change the array of slides is a bad idea, but what else to do - I figured it out