\r\n \u003Ch3>{{ item.title }}\u003C/h3>\r\n \u003Cp>{{ item.description }}\u003C/p>\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nHere's a full Nuxt3 reproduction here: https://stackblitz.com/edit/nuxt-starter-buzm4q?file=pages/index.vue\r\n\r\nA working Vue3 version is here: https://stackblitz.com/edit/vitejs-vite-9i25xx?file=src/App.vue\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-starter-buzm4q?file=pages/index.vue\n\n### System Info\n\n```Shell\nMicrosoft Edge, Windows 11, Nuxt 3.3.1\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.",[],2896,"useInfiniteScroll doesn't work in Nuxt3 app, but does in Vue3 app. Why?","2023-05-29T08:59:33Z","https://github.com/vueuse/vueuse/issues/2896",0.65843695,{"description":2909,"labels":2910,"number":666,"owner":2871,"repository":2911,"state":2895,"title":2912,"updated_at":2913,"url":2914,"score":2915},"Hey - firstly thanks for the playground! It's great. \r\n\r\nTrying to import { useScroll } from '@vueuse/core' however I'm getting an import error:\r\n>SyntaxError: The requested module '@vueuse/core' does not provide an export named 'useScroll'\r\n\r\n[repro](https://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wArJMAAyTACM62wW0mKDwk32ICOJwIRBxiDxwxm1me7C4ZwxXxQPxkcgUvAAwqwIogoH9zKwTCgbthZPlCioZXgwKxkDD5BlobIUAikSAUYMRmMBEJprNhpzubzECTyVSaXSGUzDgBdZhGOgGM1oUAAQTAYEmC3QoFSuoMEFSRAAPFRsiprEYALwAHRAAHJPIWCypSvB8yAgvA+hRSgZyBRiWSyWXdFXGq2wJsy5Eqy2e2XWDkjFEqyEKOIOLKDAWAHx58wqVOlAIJcwVqv4UqIDgUADsrbLYE7farRlIETLeAnFEpZeIFFqHCrWjMKkpbZA8+AwDoBwHKmwxrv08iLtgwEZsQ87PGK0hEHQup1NIKjAP4NwAhIs4qAcNQzngKiFs6Nw8nUiCltgS4zNgyCoZ4Kg5lmiBGKmAASAAqACyRQAKIhgQ6oqAAPio2BXgY87aOJET2NR8h0WhKibIwKghKpdDIFhM4RL4qmVJIHhUAC0jJogqkZtYCoSs4eFMXi2mztonj2CygFAA)\r\n\r\nNot sure if playground is using an old vueuse version (useScroll released in 6.4.0) ?",[],"playground","useScroll is not recognised","2022-07-27T20:03:11Z","https://github.com/vueuse/playground/issues/12",0.6781438,{"description":2917,"labels":2918,"number":2919,"owner":2871,"repository":2871,"state":2895,"title":2920,"updated_at":2921,"url":2922,"score":2923},"```\r\nimport { useScroll } from '@vueuse/core'\r\n```\r\n\r\nI want use it like `window.addEventListener('scroll',() => {},true)`,but i without find how to use the `true` option in it",[],934,"How cant I use `useScroll` in Bubbling cap","2021-11-19T03:58:01Z","https://github.com/vueuse/vueuse/issues/934",0.67907906,{"description":2925,"labels":2926,"number":2927,"owner":2871,"repository":2871,"state":2895,"title":2928,"updated_at":2929,"url":2930,"score":2931},"### Describe the bug\r\n\r\nIs there anyway to use useScroll on the body tag ?\r\n\r\n",[],2324,"useScroll on nuxt 3","2023-07-27T05:51:11Z","https://github.com/vueuse/vueuse/issues/2324",0.68734807,{"description":2933,"labels":2934,"number":2935,"owner":2871,"repository":2871,"state":2895,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Describe the bug\n\n1、 useScroll \r\nI need to recalculate when the window changes. In version 10.11.1, useScroll provided a measure method. After updating to version 11.0.3, I found that the measure method was no longer available. What should I do\r\n\r\n2、createGlobalState\r\nPreviously, I could input default values when defining,like\r\n```\r\ncreateGlobalState((xxx) => {})\r\n```\r\nbut now I can't. What should I do\n\n### Reproduction\n\nno need\n\n### System Info\n\n```Shell\nsee desc\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.",[],4206,"useScroll and createGlobalState","2024-09-06T12:23:05Z","https://github.com/vueuse/vueuse/issues/4206",0.6968453,{"description":2941,"labels":2942,"number":2943,"owner":2871,"repository":2871,"state":2895,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Describe the bug\n\nHi everyone, i'm here to ask for your help!\r\n\r\nI am trying to use `useScroll` composable but isn't working without setting the height! In my problem i'm not using `overflow: scroll;` and i think thats why doesnt work. But i am here to see if exists another way to use!\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vitejs-vite-tduaws/?file=src%2FApp.vue\n\n### System Info\n\n```Shell\n\"dependencies\": {\r\n \"@vueuse/core\": \"^9.11.1\",\r\n \"vue\": \"^3.2.45\"\r\n },\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.",[],2669,"useScroll on window","2023-01-23T19:01:04Z","https://github.com/vueuse/vueuse/issues/2669",0.6974797,{"description":2949,"labels":2950,"number":2951,"owner":2871,"repository":2871,"state":2895,"title":2952,"updated_at":2953,"url":2954,"score":2955},"I have an idea :\r\n```html\r\n\u003Cscript setup lang=\"ts\">\r\nimport { useLockScroll } from '@vueuse/core'\r\n\r\nconst el = ref\u003CHTMLElement | null>(null)\r\nconst { isLocked, lock, unlock } = useLockScroll(el)\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003Cdiv ref=\"el\">\u003C/div>\r\n\u003C/template>\r\n```",[],957,"feat: useLockScroll","2021-11-24T18:02:18Z","https://github.com/vueuse/vueuse/issues/957",0.70694566,["Reactive",2957],{},["Set"],["ShallowReactive",2960],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fiDXfgdvJ5f_OoJC66mLcwCSzqiVAx60JFZkck69YQA4":-1},"/vueuse/vueuse/940"]