Skip to content

How to turn on/off the embla carousel by breakpoint in React? #304

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

You must be logged in to vote

Hi @bmarshall511,

Thank you for your question. Pass null instead of the emblaRef when you want it to be inactive, like demonstrated here.

  • Comment from #99

Best,
David

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bmarshall511
Comment options

@davidjerleke
Comment options

Answer selected by bmarshall511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Question about how to achieve something react Issue is related to React
2 participants