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.

Active option not working

See original GitHub issue

Bug 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 to false, either in the main object or in one of the breakpoints, the error Cannot read properties of undefined (reading 'filter') appears.

CodeSandbox

Steps to reproduce

  1. Open the Sandbox
  2. 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
davidjerlekecommented, Aug 18, 2022

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

0reactions
davidjerlekecommented, Sep 13, 2022

Thanks for confirming guys (@joaopluis @avaleriani).

Cheers, David

Read more comments on GitHub >

github_iconTop 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 >

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