.kill() not executing properly on window resize [bug]
See original GitHub issuewhen using .kill() eg if i’m going from mobile view with swipe to desktop it dosent clean up all the inline styling
$(window).on('resize', function() {
if($(window).width() < 800) {
window.mySwipe = new Swipe(document.getElementById('slider'));
} else {
window.mySwipe.kill()
}
});
Also if i only have to slides it doesn’t clean up properly because of the “special case senario” on line 80 in swipe.js, there is no “special case senario” in the .kill() for that
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
kill() not working on window resize. Console says timeline not ...
OK, that works, but when I add start(); after tl.kill() The animation acts weird. I want the animation to totally stop and the...
Read more >How to wait for the 'end' of 'resize' event and only then perform ...
The way this function works is by saving data into a specific scope, so you could call it into different scopes, other than...
Read more >Window resizing, from corner resize handles, crashes ... - GitLab
I originally encountered this through GTK4-RS Rust bindings and it was suggested that it was an upstream issue, which led me to compiling...
Read more >Tasklist shows process but taskkill is unable to kill it, even as ...
Reason: There is no running instance of the task. So I tried to kill it with /PID: C:\WINDOWS\system32>taskkill /PID 8336 /F.
Read more >How to Kill a Windows Service which is stuck at stopping - 4iT
Problem I found is, once the PID killed successfully, when I went to restart the service I got: Windows could not start the...
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
Great! So the only thing left is feedback from @AlexanderYW to make sure the issue has been resolved.
Awesome job guys, it works like a charm now!
I’m closing this one, since the problem is solved