\n\n### Reproduction\n\nhttps://playground.vueuse.org/#eNqFU81u00AQfpVlL3HUYJfAqXKilqpIIASolJsvxpk4bte71v6ESJbPcEFwA3FEPAUH3oYCb8Hsbuw4UpIeLHnn+2bm+2Zna3pWVeHSAD2hscpkUWmiQJuKsJTnk4RqldBpwouyElKTmuiiBKXTshoRo+B5qvT5Apkwc+crRM9yQRoyl6Ikg1OsjOEoExIGXZVzUVZrQhjZgxWwgWuiFilj4t0lzLtKnpHwTHClScEro8mkRwy0NDBMeBx5F6gZDxrKiqUa8ERI/NZoLTg5zViR3aC3tso994M+f394f/vx++3XX39+/Pz37fPfL5/iyCf5Ak748n4xb5MTSiKE4qjXiI5waChzXuThtRIcJ1vb7IRmmF4wkC8rXaCNhJ4Qh1jM+XjmYtbJqI1nC8hudsSv1crGEvpKggK5hIR2mE5lDqjNwhevX8AK/zuwFDPDkH0AvAQlmLEaPe2x4TOU3eM5tU/ddRU8v1IXKw1ctaasUMtsHD+heHd2cvusb+Q+DB+5vIQ3OMV2Mw6vpuztzXoDhdFP+J4d7NMFf8NLYbiG2fae9Un7dhE59tu7j8fDDWwfjdyGHdpj4KNCQjAkkylOBuOEWEQwCJnIg4ElDFwS8d3CZcoMHB35UN95YLkj8uD42Gto2lY2vqvx+M7O4wOtnTkfshZBr4U4GeNdOnpzD4LhZNp2ZZDKLnlT1Sd3ul1Zb2Pz2NdY78G7kvGsWE7ren0/TRNHNuBTt6i0+Q8X48W2\n\n### System Info\n\n```Shell\nSystem:\n OS: Windows 11 10.0.26100\n CPU: (16) x64 AMD Ryzen 9 7940H w/ Radeon 780M Graphics \n Memory: 9.70 GB / 31.22 GB\n Binaries:\n Node: 22.17.1 - D:\\Program Files\\nodejs\\node.EXE\n npm: 10.9.2 - D:\\Program Files\\nodejs\\npm.CMD\n pnpm: 10.15.1 - D:\\Users\\jcwang\\AppData\\Roaming\\npm\\pnpm.CMD\n Browsers:\n Edge: Chromium (133.0.3065.69)\n Internet Explorer: 11.0.26100.1882\n npmPackages:\n @vueuse/components: ^13.9.0 => 13.9.0\n @vueuse/core: ^13.9.0 => 13.9.0\n @vueuse/integrations: ^13.9.0 => 13.9.0\n vue: ^3.5.21 => 3.5.21\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.",[3222],{"name":3177,"color":3178},5027,"BUG | `useTimeoutFn` | 组件卸载后不会清除","2025-09-10T11:10:48Z","https://github.com/vueuse/vueuse/issues/5027",0.6184652,{"description":3229,"labels":3230,"number":3231,"owner":3180,"repository":3180,"state":3190,"title":3232,"updated_at":3233,"url":3234,"score":3235},"### Describe the bug\r\n\r\n- useDraggable无法相对于父级进行拖拽\r\n- 目前只能相对于window拖拽\r\n- 即使指定了containerElement也没用\r\n- 拖拽时有错位,错位距离取决于父级元素相对于原点的距离\r\n\r\n@wheatjs @xvaara @DrJume @donotloveshampo @okxiaoliang4 @vaakian @imguolao @btea @stefnotch @akifo @faga295 @linspw @shigma @webfansplz @Alfred-Skyblue @antfu \r\n\r\n### Reproduction\r\n\r\n已经在playground里复现([点此链接查看复现](https://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wAjAAGSbEyak9bYLY7fYgI4nAhEHGIPHDGbWZ7sLhnDFfFA-GRyBS8ADCrAiiCgf3MrBMKBu2Fk+UKKkleDArGQMPkGWhshQCKRIBRgxGYwEQmms2GbI5XMQJPJlOpG0Q2z2hwAuswjHQDMa0KAAIJgMCTBboUCpLUGCCpIgAHio2RU1iMAF4ADrgQkqvMqZChIO58A6vXYNA1OibEEAbhUQaM0hrAFZSWBNk2EmAO12e0k6FRpLoawA2UmDpu6RB0eB9GvtafdpulaBCDjsWk1+AVEINvMAPhz5hUqfTmfLniLaBLITLeYABgASYAPoMHbW6uU1iClGwBgBIgTaRCOY41o0M4qHOC5Lio0FrioG6wPuO5UDWjwNs+J7JsMabEKe2D4YRx7PMK0hEHQWp1NIKjAP4NxqBU8DwABQYqAcNTbngKgAOQOjcnJ1Ig-FnjR2ocPRjGZlxPGzAJCzidgZ4zNgJYqJA1gqioWYZogRjaNgpARPYanyJpnh6QZRkmWZZ4WRpMnFqWaTcfpeIsQg7GlEG2ieIwDFnioKjqdIEBmIgHAAKJBgQKo1tpNjSIwZ4HPYjIHAcQA))\r\n\r\n### System Info\r\n\r\n```Shell\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700F\r\n Memory: 6.45 GB / 15.82 GB\r\n Binaries:\r\n Node: 16.18.0 - C:\\Program Files\\nodejs\\node.EXE \r\n npm: 8.19.2 - C:\\Program Files\\nodejs\\npm.CMD \r\n Browsers:\r\n Edge: Spartan (44.19041.3570.0), Chromium (118.0.2088.76)\r\n Internet Explorer: 11.0.19041.3570\r\n npmPackages:\r\n @vueuse/core: ^10.4.1 => 10.4.1\r\n vue: ^3.3.4 => 3.3.4\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\nnpm\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://github.com/vueuse/vueuse/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://vueuse.org/guide).\r\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.\r\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.\r\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vueuse/vueuse/discussions).\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],3524,"useDraggable无法相对于父级进行拖拽","2023-11-09T16:29:20Z","https://github.com/vueuse/vueuse/issues/3524",0.6197931,{"description":3237,"labels":3238,"number":3239,"owner":3180,"repository":3180,"state":3190,"title":3240,"updated_at":3241,"url":3242,"score":3243},"### Describe the bug\n\nIf multiple instances of `useStorage` point to the same `key`, when deleting the key/value, only the instance used for the deletion is updated, the other instances keep the previous value.\n\n### Reproduction\n\nhttps://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wAjAAGSbEyak9bYLY7fYgI4nAhEHGIPHDGbWZ7sLhnDFfFA-GRyBS8ADCrAiiCgf3MrBMKBu2Fk+UKKkleDArGQMPkGWhshQCKRIBRgxGYwEQmms2GbI5XMQJPJlOpG0Q2z2hwAuswjHQDMa0KAAIJgMCTBboUCpLUGCCpIgAHio2QAfAADWqsTMqYiGchoFTAYA1ViJA4HZPDNPEdMAHWwqYzmdKlTzBYMRZLZfb9RUVZrdcbzdKAQS5nOUCCsAAvA2+GAqInEIuVMhQkGFyBSnUaBw0MSwJsN1K6KDSgnYABuFSQKhp7DwNAAVhPi-T4tnMHiiVIy6rvmhYoDW479PIo7JuBk4qNOP47tYeCsB466biE26LnuHAHkeJ5nkEoKPHeD5Pi+76bJ+350LAf4qEhKFpJudQIGkXbkGBE6Qc8wrSEQdBanU0glv4NwAgkFRIIONQcLMKgAOQOjcnJ1Ig8lNk2MzYJu5aJHOomIOJLFINo8kwIgITyYwKjYKQET2Jp8g6f2Kj6XiRmSYgpnmZZ1m2fZGnYEY-CyqK-iAak2iOMATYqCo-ZRiBrkKQkCTqdgByBcFthyvRtCMVFJaxfFlSJd2aT6f5BhNgcjJVkAA\n\n### System Info\n\n```Shell\nSystem:\r\n OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)\r\n CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz\r\n Memory: 9.41 GB / 15.33 GB\r\n Container: Yes\r\n Shell: 5.0.17 - /bin/bash\r\n Binaries:\r\n Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node\r\n Yarn: 1.22.10 - /usr/local/bin/yarn\r\n npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm\r\n Browsers:\r\n Brave Browser: 119.1.60.118\r\n Chrome: 119.0.6045.159\r\n npmPackages:\r\n vue: ^3.3.4 => 3.3.8\n```\n\n\n### Used Package Manager\n\nyarn\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.",[],3598,"[bug] `useStorage` instances are not updated when deleting the key/value","2024-02-07T01:20:43Z","https://github.com/vueuse/vueuse/issues/3598",0.6231406,{"description":3245,"labels":3246,"number":3247,"owner":3180,"repository":3180,"state":3190,"title":3248,"updated_at":3249,"url":3250,"score":3251},"### Describe the bug\n\nSame bug of #1105; fixed by #1124 but not for useLocalStorage:\r\ntrying to access window.localStorage needs to be wrapped in a try-catch as can catch a DOMException.\r\nhttps://github.com/vueuse/vueuse/blob/cfcc295261f463c74d80fcb9863cb4bdd7e673b9/packages/core/useLocalStorage/index.ts#L20-L27\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-rptfks/\n\n### System Info\n\n```Shell\nNot Needed\n```\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.",[],2534,"Uncaught DOMException in useLocalStorage","2023-05-08T06:59:31Z","https://github.com/vueuse/vueuse/issues/2534",0.62330556,{"description":3253,"labels":3254,"number":3255,"owner":3180,"repository":3180,"state":3190,"title":3256,"updated_at":3257,"url":3258,"score":3259},"### Describe the bug\n\nunder \"usage\" (https://vueuse.org/shared/usedebouncefn/#usage), the example uses `document.addEventlistener('resize')`, but that doesn't exist, it should be `window.addEventlistener('resize')`\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-1wqbue-sy3dn5?file=app.vue\n\n### System Info\n\n```Shell\nSystem:\r\n OS: macOS 12.6\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 177.50 MB / 32.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node\r\n Yarn: 1.22.15 - ~/.nvm/versions/node/v16.15.1/bin/yarn\r\n npm: 8.12.1 - ~/.nvm/versions/node/v16.15.1/bin/npm\r\n Browsers:\r\n Chrome: 105.0.5195.125\r\n Firefox: 104.0.2\r\n Safari: 16.0\r\n npmPackages:\r\n @vueuse/core: ^9.3.0 => 9.3.0\r\n @vueuse/nuxt: ^9.3.0 => 9.3.0\n```\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.",[],2288,"Documentation of `useDebounceFn` is incorrect","2022-12-09T18:00:41Z","https://github.com/vueuse/vueuse/issues/2288",0.62522495,["Reactive",3261],{},["Set"],["ShallowReactive",3264],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fYzgP-59Csu47aonU7wizDiiyPvSjXOOlj4hhr9CYpUk":-1},"/vueuse/vueuse/1444"]