Skip to content

Carousel breaks when API data ingested #444

Closed Answered by davidjerleke
ilmoi asked this question in Help
Discussion options

You must be logged in to vote

Hi @ilmoi,

From the Embla documentation:

useEffect(() => {
  if (emblaApi) emblaApi.reInit()
}, [emblaApi, slides])

Best,
David

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@davidjerleke
Comment options

@ilmoi
Comment options

@davidjerleke
Comment options

@davidjerleke
Comment options

Answer selected by davidjerleke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants