\r\n \u003C/g>\r\n\u003C/svg>\r\n```\r\n\r\nTried something like below but it expects a `ref `instead of an `id`\r\n```\r\n iBody?.querySelectorAll(`[id^=\"color\"]`).forEach((item) => {\r\n const { finish } = useAnimate(item, [{ fill: color }, { fill: (getValue(\"color\", iBody) as string) || \"black\" }], {\r\n duration: 500,\r\n iterations: 5,\r\n })\r\n })\r\n```",[2920],{"name":2876,"color":2877},4219,"UseAnimate - Add support for targets with an id","2025-03-02T15:41:26Z","https://github.com/vueuse/vueuse/issues/4219",0.79936963,{"description":2927,"labels":2928,"number":2930,"owner":2866,"repository":2866,"state":2931,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\n```ts\nimport type { ObjectDirective } from 'vue'\nimport type { UseElementBoundingOptions, UseElementBoundingReturn } from './index'\nimport { watch } from 'vue'\nimport { useElementBounding } from './index'\n\ntype ElementBounding = Omit\u003CUseElementBoundingReturn, 'update'>\ntype BindingValueFunction = (bounding: ElementBounding) => void\ntype BindingValueArray = [BindingValueFunction, UseElementBoundingOptions]\n\nexport const vElementBounding: ObjectDirective\u003C\n HTMLElement,\n BindingValueFunction | BindingValueArray\n> = {\n mounted(el, binding) {\n const [handler, options] = (typeof binding.value === 'function' ? [binding.value, {}] : binding.value) as BindingValueArray\n\n const {\n height,\n bottom,\n left,\n right,\n top,\n width,\n x,\n y,\n } = useElementBounding(el, options)\n watch([height, bottom, left, right, top, width, x, y], () => handler({ height, bottom, left, right, top, width, x, y }))\n },\n}\n```\n\nModifying height.value in the handler method will cause an infinite loop.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-q9a1qgs7?file=src%2FApp.vue\n\n### System Info\n\n```Shell\n System:\n OS: Linux 5.0 undefined\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\n Memory: 0 Bytes / 0 Bytes\n Shell: 1.0 - /bin/jsh\n Binaries:\n Node: 18.20.3 - /usr/local/bin/node\n Yarn: 1.22.19 - /usr/local/bin/yarn\n npm: 10.2.3 - /usr/local/bin/npm\n pnpm: 8.15.6 - /usr/local/bin/pnpm\n npmPackages:\n @vueuse/components: ^12.7.0 => 12.7.0 \n @vueuse/core: ^12.7.0 => 12.7.0 \n vue: ^3.5.13 => 3.5.13 \n```\n\n### Used Package Manager\n\npnpm\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [x] Read the [docs](https://vueuse.org/guide).\n- [x] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [x] 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.\n- [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2929],{"name":2899,"color":2900},4609,"closed","BUG | `useElementBounding` | Maximum recursive updates exceeded.","2025-04-10T01:36:04Z","https://github.com/vueuse/vueuse/issues/4609",0.71549726,{"description":2937,"labels":2938,"number":2939,"owner":2866,"repository":2866,"state":2931,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Clear and concise description of the problem\n\nCurrently, `useTimeout` does not do what one would expect, be a replacement for `window.setTimeout`.\nIt return a reactive ref instead of calling a callback !\n\n### Suggested solution\n\nI propose that `useTimeout` be renamed `useTimeoutRef`, and that `useTimeoutFn` be renamed `useTimeout`, which would align better with native browser behavior.\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [x] Read the [docs](https://vueuse.org/guide).\n- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.",[],4683,"`useTimeout` and `useTimeoutFn` | should be renamed to be closer to browser behavior","2025-03-31T14:33:26Z","https://github.com/vueuse/vueuse/issues/4683",0.7346535,{"description":2945,"labels":2946,"number":2950,"owner":2866,"repository":2866,"state":2931,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\n\nuseDraggable has different effects on mobile and pc web。There is a problem on mobile\r\n[screencast-localhost_5173-2024.03.10-10_47_25.webm](https://github.com/vueuse/vueuse/assets/52291669/8d922a8c-c916-4056-be90-0d3e29aabd1d)\r\n\r\n\r\n\n\n### Reproduction\n\nNo response\n\n### System Info\n\n```Shell\n--npmPackages \"@vueuse/components\": \"^10.1.0\",\"@vueuse/core\": \"^10.1.0\",\"@vueuse/integrations\": \"^10.1.2\"\r\nBroswer:Chrome\n```\n\n\n### Used Package Manager\n\npnpm\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://vueuse.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [X] 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.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2947],{"name":2948,"color":2949},"vue: upstream","0E8A16",3858,"useDraggable has a problem on mobile","2024-03-10T03:14:37Z","https://github.com/vueuse/vueuse/issues/3858",0.755872,{"description":2956,"labels":2957,"number":2959,"owner":2866,"repository":2866,"state":2931,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Describe the bug\n\nWhen installing the Nuxt module with `npx nuxi@latest module add vueuse`, as per the official docs, only `@vueuse/nuxt` is installed, not `@vueuse/core`.\n\nAs the latter is required for the Nuxt module, I think there are some possible strategies to deal with this:\n\n- Make it so that `@vueuse/core` is installed automatically when using Nuxi\n- Add `@vueuse/core` as a dependency to `@vueuse/nuxt`\n- Or, simply update the docs and clearly state that `@vueuse/core` should be installed manually.\n\nThank you :)\n\n### Reproduction\n\nhttps://stackblitz.com/github/nuxt/starter/tree/v3?file=package.json\n\n### System Info\n\n```Shell\nSystem:\n OS: Linux 5.0 undefined\n CPU: (2) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\n Memory: 0 Bytes / 0 Bytes\n Shell: 1.0 - /bin/jsh\n Binaries:\n Node: 18.20.3 - /usr/local/bin/node\n Yarn: 1.22.19 - /usr/local/bin/yarn\n npm: 10.2.3 - /usr/local/bin/npm\n pnpm: 8.15.6 - /usr/local/bin/pnpm\n npmPackages:\n @vueuse/nuxt: ^12.8.2 => 12.8.2 \n vue: ^3.5.13 => 3.5.13\n```\n\n### Used Package Manager\n\nnpm\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\n- [x] Read the [docs](https://vueuse.org/guide).\n- [x] Check that there isn't [already an issue](https://github.com/vueuse/vueuse/issues) that reports the same bug to avoid creating a duplicate.\n- [x] 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.\n- [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\n- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2958],{"name":2896,"color":2897},4647,"BUG | `nuxi` installer | Installing with Nuxi only adds `@vueuse/nuxt`, not `@vueuse/core`","2025-04-07T01:55:10Z","https://github.com/vueuse/vueuse/issues/4647",0.76167494,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f9meUw7wB6oh2dN8ydj4IAUiJgEkdBzJtqaNffCqAyPs":-1},"/vueuse/vueuse/4196"]