BUG | `useIdle` | lastActive is not updated upon reset()
Author: andrewspyCreated Aug 27, 2026Updated Sep 5, 2026
Labelsgood first issue
Describe the bug
For the reproduction,
- Using only
clickevent to break theidlestage - A
reset()is triggered duringmouseenterinside<div>
Expected result:
inactive should be reset to 0s after reset()
Actual result:
inactive is not reset to 0s after reset(), however idle works as expected.
Reproduction
System Info
Windows 11, Google Chrome v151.0.7922.138, vueuse v14.4.0, vue v3.5.42
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Source: vueuse/vueuse