-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Copy link
Labels
Description
Describe the bug
Since upgrading @vueuse/core
to version 13.4.0, the useParallax
composable always returns stuck values for tilt
and roll
, -0.5 and 0.5, which do not change with mouse movement. This breaks any parallax effect based on these values.
The issue happens both in my local project and in the official VueUse docs demo for useParallax
, where the values remain frozen and the effect does not work.
Attempted fixes:
- Downgrading to version 13.3.0 immediately fixes the issue.
- Moving the
useParallax
call insideonMounted
to ensure theref
is defined does not fix the problem. - Tested across multiple browsers with the same result.
Reproduction
System Info
@vueuse/core: 13.4.0
Vue: 3.5.17
Quasar: 2.18.1
@quasar/app-vite: 2.1.0
OS: Windows 11
Browser: Chrome 138.0.7204.50, Firefox 140.0.2 e Edge 138.0.3351.55
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.
birdlavv and humanfriend22