swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Autoplay, transformation on delay 0 still delayed

Open wibed opened this issue 4 years ago • 10 comments

This is a (multiple allowed):

  • [x] bug

  • [ ] enhancement

  • [ ] feature-discussion (RFC)

  • Swiper Version: 6.4.1

  • Platform/Target and Browser Versions: tried Firefox, Safari

  • Live Link or JSFiddle/Codepen or website with isssue: https://swiper-demo-11-multiple-slides-per-view-xxxg6w.stackblitz.io

What you did

used delay 0 to disable delay inbetween transition.

Expected Behavior

to not have delay in-between transition.

Actual Behavior

as in the demo, the slides are still stoping for a sec.

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow for that.

Before you open an issue, please check if a similar issue already exists or has been closed before.

maybe I am missing something, but I can't find any similar issue

wibed avatar Dec 17 '20 20:12 wibed

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 21 '21 11:07 stale[bot]

This is a (multiple allowed):

  • [x] bug
  • [ ] enhancement
  • [ ] feature-discussion (RFC)
  • Swiper Version: 6.4.1
  • Platform/Target and Browser Versions: tried Firefox, Safari
  • Live Link or JSFiddle/Codepen or website with isssue: https://swiper-demo-11-multiple-slides-per-view-xxxg6w.stackblitz.io

What you did

used delay 0 to disable delay inbetween transition.

Expected Behavior

to not have delay in-between transition.

Actual Behavior

as in the demo, the slides are still stoping for a sec.

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow for that.

Before you open an issue, please check if a similar issue already exists or has been closed before.

maybe I am missing something, but I can't find any similar issue

try set delay: -1, it's help for me

BaranovRoman avatar Aug 04 '21 02:08 BaranovRoman

the problem persists. negative or 0, does not remove the slowdown and speed up between transitions. which as it approaches 0 (the speed) is perceived as delay.

here: https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js

i was looking for a consistent transition velocity while the delay is ignored

wibed avatar Aug 04 '21 08:08 wibed

the problem persists. negative or 0, does not remove the slowdown and speed up between transitions. which as it approaches 0 (the speed) is perceived as delay.

here: https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js

i was looking for a consistent transition velocity while the delay is ignored

it's just a timing function, add this styles .swiper-wrapper { transition-timing-function: linear; }

BaranovRoman avatar Aug 04 '21 08:08 BaranovRoman

the problem persists. negative or 0, does not remove the slowdown and speed up between transitions. which as it approaches 0 (the speed) is perceived as delay. here: https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js i was looking for a consistent transition velocity while the delay is ignored

it's just a timing function, add this styles .swiper-wrapper { transition-timing-function: linear; }

cool that helped tremendously, it still stops for a microsecond. its a minor issue but could one prevent it?

https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js

wibed avatar Aug 04 '21 08:08 wibed

the problem persists. negative or 0, does not remove the slowdown and speed up between transitions. which as it approaches 0 (the speed) is perceived as delay. here: https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js i was looking for a consistent transition velocity while the delay is ignored

it's just a timing function, add this styles .swiper-wrapper { transition-timing-function: linear; }

cool that helped tremendously, it still stops for a microsecond. its a minor issue but could one prevent it?

https://codesandbox.io/s/swiper-react-autoplay-forked-4scqr?file=/src/App.js

don't know, can't see it, just all look like there are some lags, try add will-change: transform; on transformed element

BaranovRoman avatar Aug 04 '21 10:08 BaranovRoman

i am not sure if it is what you meant but it didnt work, there is still a lil stop inbetween transitions

https://codesandbox.io/s/swiper-react-autoplay-forked-kdjjn?file=/src/App.js

wibed avatar Aug 06 '21 06:08 wibed

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 05:04 stale[bot]

Were you able to find a solution? @wibed ?

ahsan44411 avatar May 16 '22 10:05 ahsan44411

Did someone find solution? @ahsan44411 @wibed

ogr1k avatar Aug 05 '22 10:08 ogr1k

Did someone find solution?

Anvarmirzo avatar Dec 20 '22 06:12 Anvarmirzo

https://codesandbox.io/s/swiper-react-autoplay-forked-meyzdt

heres an updated version.

the microsecond it stops is hardly perceived but once you notice it kinda stands out. no i have not found a solution yet.

wibed avatar Dec 20 '22 06:12 wibed

I'm still searching for a solution. Someone solved it?

plcdnl avatar Dec 28 '22 19:12 plcdnl

Swiper v9 comes with fully reworked autoplay module. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.

nolimits4web avatar Feb 01 '23 12:02 nolimits4web