question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

disabled autoplay but it's start after first slide

See original GitHub issue

Hi,

Is it intended, even if I have autoPlay set to false, that carousel run through all slides after I manually change slide once? My carousel code:

<Carousel
  width={width}
  height={200}
  loop={false}
  mode="parallax"
  autoPlay={false}
  modeConfig={{
    parallaxScrollingScale: 0.96,
    parallaxScrollingOffset: 18,
  }}
  onProgressChange={(_: any, absoluteProgress: number) =>
    (progressValue.value = absoluteProgress)
  }
  data={JSON.parse(JSON.stringify(profileAbilities))}
  renderItem={({item}: {item: ProfilePlayerAbility}) => (
    <Block key={item.category}>
      <ProfileAbilityCategory {...{item}} />
    </Block>
  )}
/>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dohooocommented, Jan 22, 2022

Ahh sorry for stating the obvious 😅 Today’s my first time using this library and so far I am really enjoying how simple it is to animate. Thank you for your work!

Thank you for using it 😄

Hi,

Is it intended, even if I have autoPlay set to false, that carousel run through all slides after I manually change slide once? My carousel code:

<Carousel
  width={width}
  height={200}
  loop={false}
  mode="parallax"
  autoPlay={false}
  modeConfig={{
    parallaxScrollingScale: 0.96,
    parallaxScrollingOffset: 18,
  }}
  onProgressChange={(_: any, absoluteProgress: number) =>
    (progressValue.value = absoluteProgress)
  }
  data={JSON.parse(JSON.stringify(profileAbilities))}
  renderItem={({item}: {item: ProfilePlayerAbility}) => (
    <Block key={item.category}>
      <ProfileAbilityCategory {...{item}} />
    </Block>
  )}
/>

it may be a bug, I will fix it tomorrow at the latest

0reactions
jihoon416commented, Jan 22, 2022

Ahh sorry for stating the obvious 😅 Today’s my first time using this library and so far I am really enjoying how simple it is to animate. Thank you for your work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerPoint 2016 Video won't start automatically - TechNet
I've created PowerPoint video presentations before where I pasted a video into it and had it start automatically when the presentation was ...
Read more >
Video issues (autoplay not working, video player looks different)
Go to your video layer and change the When ended to Go to next slide . This option is only available when the...
Read more >
Disable autoplay - Feature Requests - ATOMI Community
Hi Terry,. You don't need a setting, just add a Start button to the first slide and require your users to click that...
Read more >
Disable Prev Control on first slide and disable Next control on ...
Just use infite: false and create a custom css for class slick-disabled. Eg. JS - jQuery $('.my-slider').slick({ infinite: false, ...
Read more >
Animations play automatically, not waiting for mouse click
Tutorial description: It can happen that even tho you select animations to be On Click they proceed automatically once you start your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found