Active option not working
See original GitHub issueBug is related to
- embla-carousel (core package)
- embla-carousel-react
- embla-carousel-vue
- embla-carousel-svelte
- embla-carousel-autoplay
- embla-carousel-auto-height
- embla-carousel-class-names
- embla-carousel-docs (documentation website)
Embla Carousel version
- v7.0.0
Describe the bug
- If
active
is set tofalse
, either in the main object or in one of the breakpoints, the errorCannot read properties of undefined (reading 'filter')
appears.
CodeSandbox
Steps to reproduce
- Open the Sandbox
- See error
Expected behavior
- There is no error and slider is disabled
Additional context
- Problem showed up in the usecase where slider is disabled by default and enabled in a breakpoint. Could reduce it to only having
active: false
.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
"Options" option not working - Microsoft Community
I'm using Excel 365. I want to access the "options" feature. When I click "file" then "options", the menu simply disappears and I'm...
Read more >What Is An Active Option Contract? (Full Explanation) - UpNest
The Active Option Contract Process. A buyer schedules a showing to see a home for sale. The buyer falls in love with the...
Read more >M active dial push option not showing - Fix It Now!!! - YouTube
When your m active dial push option not showing, you need to follow video like this to get it come up. And in...
Read more >Active Option Contract (Here's what it means for you)
The Active Option Contract status in Texas real estate means that the seller has accepted an offer on their property; the property is...
Read more >If Active Noise Cancellation isn't working as expected on your ...
A loss of bass sound ; An increase in background sounds, such as street or airplane noise. If Active Noise Cancellation still isn't...
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 Free
Top 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
Hi again @joaopluis,
I just released v7.0.1 which includes a bugfix for this bug. Please update your package and let me know if it’s working as expected now.
Best, David
Thanks for confirming guys (@joaopluis @avaleriani).
Cheers, David