Options object doesn't work after migration
See original GitHub issueOptions object doesn’t work after migration from embla-carousel-react to embla-carousel/react
my config:
const [EmblaCarouselReact, embla] = useEmblaCarousel({
align: 'start',
slidesToScroll: 1,
loop: true,
});
Loop doesn’t work. If emblaCarousel loads for the first time, after dragging I get “maximum call stack size exceeded” error.
It doesn’t work on embla-carousel-react v2.0.3
either.
I tried to migrate from version: ^1.3.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:50 (22 by maintainers)
Top Results From Across the Web
Options object doesn't work after migration · Issue #79
Options object doesn't work after migration from embla-carousel-react to embla-carousel/react. my config: const [EmblaCarouselReact, embla] = useEmblaCarousel( ...
Read more >EF Data migrations won't detect changes when adding new ...
After doing this, I should be able to create a new initial migration. But when i try to create create a new migration,...
Read more >Troubleshoot live migration issues - Windows Server
Open the Hyper-V Manager console and select Virtual Switch Manager. If the virtual switch doesn't exist, create or rename it with the same...
Read more >Unable to migrate one user account and not getting any ...
When i try to migrate a user account, its not getting migrated. Output shows as selected object 1 migrated 0.. Summary Information. Directory...
Read more >MigrationWiz Error - Missing items/Items do not match
Check to see if the missing items are special items that we do not migrate. The list of items we do not migrate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
SOLUTION
I found the problem! It’s because of i18n, which uses react suspense. 😃 I think I can fix it on my own now!
Nice to see a
rtl
implementation of Embla Carousel 👍. Thank you for sharing the link.Try updating to the latest version and run
embla.reInit()
when removingdisplay: none
and the issue should go away. Let me know how it goes.Best, David