B
B
BonBon Slick2018-09-20 17:29:54
HTML
BonBon Slick, 2018-09-20 17:29:54

Why is the screen sticking?

From primer in dock https://getbootstrap.com/docs/3.3/javascript/#carousel
By clicking on

<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">

or another anchor, the slide flips and the screen does not jump, but on the site, local, when you click on the arrow, the screen moves up or down so that the carousel is in the center of the screen.
Before pressing
5ba3ae9def4ec352220876.png
After
5ba3aeaa267b5714371305.png
The screen slid down so that the picture leveled out and it was completely visible, you can’t do this, because the screen twitches sharply, the sensations are negative.
function schedule() {
  if ( inProgress ) {
    if ( document.hidden === false && window.requestAnimationFrame ) {
      window.requestAnimationFrame( schedule );
    } else {
      window.setTimeout( schedule, jQuery.fx.interval );
    }

    jQuery.fx.tick();
  }
}

There is then a burn

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
catrinblaidd, 2018-09-20
@catrinblaidd

"clicks" because it should be so when you click on the anchor link.
try adding onclick="return false"

<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev" onclick="return false">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question