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.

window.clearTimeout

See original GitHub issue

Describe the bug

On the calendar - doesn’t matter what view - when I try dragging an event to change it’s date, I get an error saying “window.clearTimeout is not a function”

Minimal reproduction of the problem with instructions

On the demos page of angular-calendar, on the kitchen sink example, select edit in stackblitz and try moving any event on the calendar around.

Here’s a link to a stackblitz instance https://nrtgix.run.stackblitz.io

Screenshots

draggable error

Versions

  • @angular/core: “8.0.0”
  • angular-calendar: “0.27.11”
  • Browser name and version: Google Chrome v 74.0.3729.169

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
GIOkaforcommented, Jun 27, 2019

Yea it works now with the latest update. Thanks a bunch ❤❤

0reactions
mattlewis92commented, Jun 27, 2019

Actually I think you might just be moving the mouse like 1px when dragging, can you give 0.27.12 a go which might fix it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

clearTimeout() - Web APIs - MDN Web Docs
The global clearTimeout() method cancels a timeout previously established by calling setTimeout().
Read more >
Window clearTimeout() Method - W3Schools
The clearTimeout() method clears a timer set with the setTimeout() method. Note. To clear a timeout, use the id returned from setTimeout():. myTimeout...
Read more >
Window.clearTimeout( ) - JavaScript: The Definitive Guide ...
clearTimeout ( ) cancels the execution of code that has been deferred with the setTimeout( ) method. The timeoutId argument is a value...
Read more >
JavaScript clearTimeout() & clearInterval() Method
JavaScript clearTimeout() Function: The clearTimeout() function in javascript clears the timeout which has been set by the setTimeout()function ...
Read more >
setTimeout / clearTimeout problems - javascript - Stack Overflow
If the function is called 5 times within the first 10 seconds, then 5 alerts will apear... no clearTimeout... function endAndStartTimer() { window.clearTimeout( ......
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