diff --git a/src/components/Idler.js b/src/components/Idler.js index 12444110..8132eb28 100644 --- a/src/components/Idler.js +++ b/src/components/Idler.js @@ -40,7 +40,7 @@ class Idler extends PureComponent { lastAction: number = -1 - debounceOnChange = debounce(_ => this.idleTimeHandler(), 1000) + debounceOnChange = debounce(_ => this.idleTimeHandler(), 1000, { maxWait: 1000 }) checkForAutoLock = _ => { const timeout = this.props.autoLockTimeout