v9.10.0
版本发布时间: 2023-01-03 22:17:19
vueuse/vueuse最新发布版本:v11.1.0(2024-09-16 17:09:03)
🚀 Features
- useActiveElement: Support shadow roots - by @43081j and @antfu in https://github.com/vueuse/vueuse/issues/2592 (07f20)
- useArrayUnique: New function - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/2597 (162cd)
- useDebounceFn,useThrottleFn: Return result using promise - by @vaakian in https://github.com/vueuse/vueuse/issues/2580 (4d305)
- useMouse: Support for movement detection - by @daniser and Sergey Danilchenko in https://github.com/vueuse/vueuse/issues/2589 (0c39d)
-
useVirutalList: Expose
scrollTo
in component - by @Agapanthus and Eric Skaliks in https://github.com/vueuse/vueuse/issues/2397 (9f495)
🐞 Bug Fixes
- nuxt: Disable useImage in the Nuxt package for auto imports - by @wheatjs in https://github.com/vueuse/vueuse/issues/2602 (d3d1d)
-
onKeyStroke: Make
target
ref nullable - by @vaakian in https://github.com/vueuse/vueuse/issues/2579 (28614) - useActiveElement: Ignore if relatedTarget is set - by @dpschen in https://github.com/vueuse/vueuse/issues/2600 (ae78d)
- useElementBounding: Update on scroll - by @Ducz01 and sibbng in https://github.com/vueuse/vueuse/issues/2596 (268a6)
- useScrollLock: Fix iOS touchmove bug - by @robinscholz, Robin Scholz, webfansplz and @antfu in https://github.com/vueuse/vueuse/issues/2362 (c9a9a)