mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-03 11:15:07 -05:00
In the repo https://github.com/rstudio/shiny-testapp/ the test app called "setinput" threw errors in IE8 due to the debouncer getting triggered incorrectly. Essentially Debouncer.$invoke was being called twice without an intervening normalCall or immediateCall, which caused apply to be called with this.args === null. Upon careful inspection/debugging it seems like this may be a bug in the IE8 implementation of setTimeout/clearTimeout: http://stackoverflow.com/questions/5853571/clarifying-cleartimeout-behavior-in-ie In any case, the workaround is to check for a null timer id, which means we tried to clear the timer at least.