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.

Breakpoints do not work properly, again, and still.

See original GitHub issue

I know you’ll do exactly nothing, because it’s what you did since the first time you got this kind of request. But I’ll write it again, because it’s the right thing to do. Tipical use case:

 $(".slider").slick({
    mobileFirst: true,

    responsive: [{
      breakpoint: 830,
      settings: "unslick"
    }]
}

If you start with a small screen, it wil work. As soon as you reach 830 it will unslick. Fine. Than go back to < 830, and you won’t have slick back.

So you cannot say your plugin is responsive. It’s not. A thing called responsive should behave like a responsive thing. And this is not the case. I think after 2+ years since last time I checked. I come back and guess? Still the same issue.

And by the way: this is not magic, neither.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:10
  • Comments:11

github_iconTop GitHub Comments

4reactions
dietantejensencommented, Apr 27, 2018

reinitializing is the logical thing to do - but I wonder how many people worried and wondered what they did wrong; especially, when the slider works like a charm most of the time.

3reactions
eballestecommented, Mar 21, 2018

listen for the window resize event and reinitialize slick

off = windowWidth <= 830;

onResize:
  if (windowWidth <= 830 && !off) {
    reInitSlick
    off = true
  } else if (windowWidth > 830) {
    off = false
  }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Breakpoints in the Visual Studio Debugger
If you're debugging optimized code, make sure the function where your breakpoint is set isn't being inlined into another function. The Debugger.
Read more >
Eclipse doesn't stop at breakpoints - Stack Overflow
42 Answers 42 · First remove all 'toggle breakpoints' from the class file. · Then Eclipse requires a restart. · Then make sure...
Read more >
Breakpoints do not get hit work with while debugging react ...
Actual Behavior. The debugger seems to work and connect, but I never get a hit on any breakpoints. Expected Behavior.
Read more >
Solved: Why are breakpoints not working, and how do I fix
I'm creating a .elf file with debug info, The debugger is ignoring any breakpoints I set. It comes up with the message that...
Read more >
When your Android Studio breakpoint doesn't stop - Medium
Technically, even if you run it on release build, it will still stop and break on your breakpoint. You might not able to...
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