You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 9.10.0 the ZoomToPoints function is never called. I tried removing the "force" parameter from both the throttle and the called functions, but this made no difference.
Problem seems to have been introduced in pull request: #2580
Rolling back to 9.9.0 fixes the problem for me.
The same can be seen in the linked reproduction project. The "Increment Throttled" button works in 9.9.0 but not in 9.10.0
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.
Describe the bug
In version 9.9.0 this function works
const ZoomToPointsThrottled = useThrottleFn(
(force: boolean) => {
ZoomToPoints(force);
},
1500,
true,
false
);
In version 9.10.0 the ZoomToPoints function is never called. I tried removing the "force" parameter from both the throttle and the called functions, but this made no difference.
Problem seems to have been introduced in pull request: #2580
Rolling back to 9.9.0 fixes the problem for me.
The same can be seen in the linked reproduction project. The "Increment Throttled" button works in 9.9.0 but not in 9.10.0
Reproduction
https://stackblitz.com/edit/vitejs-vite-bjrjmi/?file=package.json,src%2FApp.vue
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: