\n```\n\nThe `as` prop type could be retrieved from the RekaUI component prop type directly using something like this\n\n```ts\ninterface InputProps {\n as?: InstanceProps\u003Ctypeof Primitive>['$props']['as']\n // Other props...\n}\n```\n\nIs there a reason that eludes me as to why this was not done?\n\nIf this seems like a good idea, I'd be happy to submit a PR.\n\nCheers!",[2944,2947],{"name":2945,"color":2946},"question","d876e3",{"name":2907,"color":2908},3068,"[v3] `as` props typing","2025-01-10T17:28:25Z","https://github.com/nuxt/ui/issues/3068",0.7345663,{"description":2954,"labels":2955,"number":2960,"owner":2913,"repository":2914,"state":2936,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### For what version of Nuxt UI are you suggesting this?\n\nv3.0.0-alpha.x\n\n### Description\n\nI would like to keep the behavior of the popover opening only on click, but also allow it to close when something in the content slot is clicked.\n\nSuggestion:\n``` \u003CUPopover :content=\"{align: 'start'}\">\n \u003Ctemplate #default=\"{open}\">\n ....\n \u003C/template>\n \u003Ctemplate #content=\"{close}\">\n \u003Cdiv class=\"p-2\">\n \u003Cul class=\"flex flex-col gap-1 min-w-[150px]\">\n \u003Cli v-for=\"assistant in assistantsList\"\n :key=\"assistant.documentUuid\"\n @click=\"assistantSelected = assistant; close()\"\n class=\"p-1 rounded-md bg-neutral-800/40 hover:bg-neutral-800 cursor-pointer\">\n \u003Cp class=\"text-sm\">{{ assistant.name }}\u003C/p>\n \u003C/li>\n \u003C/ul>\n \u003C/div>\n \u003C/template>\n \u003C/UPopover>```\n\n### Additional context\n\n_No response_",[2956,2959],{"name":2957,"color":2958},"enhancement","a2eeef",{"name":2907,"color":2908},2789,"[v3][Popover] Close method exposed to the `content` slot","2025-03-08T12:22:25Z","https://github.com/nuxt/ui/issues/2789",0.7456956,{"description":2966,"labels":2967,"number":2973,"owner":2913,"repository":2914,"state":2936,"title":2974,"updated_at":2975,"url":2976,"score":2977},"### Environment\n\nDocs page: https://ui3.nuxt.dev/components/input\n\nSorry if this repo isn't the right place to report bugs about the docs. The \"edit this page\" link on the docs lead me to this repository. \n\nThis could be a minor thing but it's still not ideal.\n\nClicking a link on the right hand side prompts firefox if it should save the password \n\n\n\nPerhaps to mitigate this, the input field has to differ from the docs code and not use type password\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nhttps://ui3.nuxt.dev as of 28.01.2025\n\n### Reproduction\n\n1. Go to https://ui3.nuxt.dev/components/input\n2. Click a link on the right hand side\n3. Browser should ask if it should save the password\n\n### Description\n\nDocs page prompts browser to save the password due to a `\u003Cinput type=\"password\">` in an example\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[2968,2969,2972],{"name":2904,"color":2905},{"name":2970,"color":2971},"documentation","0075ca",{"name":2907,"color":2908},3195,"Docs page for Input causes browser to prompt if it should save the password from a password example input","2025-01-29T10:08:23Z","https://github.com/nuxt/ui/issues/3195",0.7459419,{"description":2979,"labels":2980,"number":2982,"owner":2913,"repository":2914,"state":2936,"title":2983,"updated_at":2984,"url":2985,"score":2986},"### Description\n\nWould be nice to have the option to preserve theme per component, for example if you have dark footer and it needs to be dark in both themes, then any component residing inside it will change the colours, but in such a case you might want to preserve dark theme for components in dark footer. \r\n\r\nYes it's possible to overwrite styles per component, but for some use cases this could become quite a clutter.\r\nAlso this option could nicely work with \"hybrid\" themes.\n\n### Additional context\n\n_No response_",[2981],{"name":2957,"color":2958},2087,"Preserve theme for component","2024-09-06T10:16:43Z","https://github.com/nuxt/ui/issues/2087",0.7494549,{"description":2988,"labels":2989,"number":2991,"owner":2913,"repository":2992,"state":2936,"title":2993,"updated_at":2994,"url":2995,"score":2996},"### 🐛 The bug\n\nHey guys,\n\nI am not sure, if this is excpected behaviour, but the Post Consent Trigger function is always called, even when trigger is false. And so I am not sure, if the trigger is always set to true and fires off.\n\nI have created a repro.\n\n### 🛠️ To reproduce\n\nhttps://stackblitz.com/edit/nuxt-starter-2u74pkik?file=pages%2Findex.vue\n\n### 🌈 Expected behavior\n\nI would excpect, that the trigger function is only called, when the trigger is set to true.\n\nThanks for looking into that.\n\nBest regards\nChris\n\n### ℹ️ Additional context\n\n_No response_",[2990],{"name":2904,"color":2905},391,"scripts","Post Consent Trigger is always called","2025-02-22T04:00:20Z","https://github.com/nuxt/scripts/issues/391",0.75180715,{"description":2998,"labels":2999,"number":3003,"owner":2913,"repository":2913,"state":2936,"title":3004,"updated_at":3005,"url":3006,"score":3007},"Hello,\r\n\r\nI use [markdown-it](https://github.com/nuxt-community/modules/tree/master/packages/markdownit) module to parse `.md` files, with this component to convert internal links :\r\n\r\n```html\r\n\u003Ctemplate>\r\n \u003Cdiv v-html=\"content\">\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript>\r\nexport default {\r\n props: ['content'],\r\n mounted() {\r\n this.addListeners()\r\n },\r\n beforeDestroy() {\r\n this.removeListeners()\r\n },\r\n watch: {\r\n 'content': 'contentUpdated'\r\n },\r\n methods: {\r\n navigate(event) {\r\n const href = event.target.getAttribute('href')\r\n if (href && href[0] === '/') {\r\n event.preventDefault()\r\n this.$router.push(href)\r\n }\r\n },\r\n contentUpdated() {\r\n this.removeListeners()\r\n this.$nextTick(() => {\r\n this.addListeners()\r\n })\r\n },\r\n addListeners() {\r\n this._links = this.$el.getElementsByTagName('a')\r\n for (let i = 0; i \u003C this._links.length; i++) {\r\n this._links[i].addEventListener('click', this.navigate, false)\r\n }\r\n },\r\n removeListeners() {\r\n for (let i = 0; i \u003C this._links.length; i++) {\r\n this._links[i].removeEventListener('click', this.navigate, false)\r\n }\r\n this._links = []\r\n }\r\n }\r\n}\r\n\u003C/script>\r\n```\r\n\r\nIt works fine but the content of the `.md` is not html rendered with `nuxt generate`, but instead stored in the js...\r\n\r\nAny idea?\r\n\r\nThanks!\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This question is available on \u003Ca href=\"https://nuxtjs.cmty.io\">Nuxt.js\u003C/a> community (\u003Ca href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2488\">#c2488\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[3000],{"name":3001,"color":3002},"2.x","d4c5f9",2864,"Content not rendered","2023-01-18T16:09:43Z","https://github.com/nuxt/nuxt/issues/2864",0.76018304,{"description":3009,"labels":3010,"number":3015,"owner":2913,"repository":2914,"state":2936,"title":3016,"updated_at":3017,"url":3018,"score":3019},"### Description\n\nI would like to propose adding native Infinity Scrolling support to the USelectMenu component and much more for efficiently handling and displaying large datasets.\n\nCurrently, I have implemented a workaround by using a combination of a MutationObserver and dynamic class binding to detect when the dropdown menu is rendered. Once the menu is detected, I attach an onScroll event listener to implement custom infinity scrolling. Below is an example of how this has been achieved:\n\n```\n\u003Ctemplate>\n \u003CUSelectMenu :ui-menu=\"{ strategy: 'merge', base: `scroller-${randomHash}` }\" />\n\u003C/template>\n```\n\n```\n\u003Cscript setup lang=\"ts\">\nconst randomHash = Math.random().toString(36).substring(7);\n\nonMounted(() => {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n const element = document.querySelector(`.scroller-${randomHash}`);\n if (element) {\n // Element has been found, add an onScroll event listener\n observer.disconnect();\n break;\n }\n }\n }\n });\n\n observer.observe(document.body, {\n childList: true,\n subtree: true, \n });\n\n onBeforeUnmount(() => {\n observer.disconnect();\n });\n});\n\u003Cscript/>\n```\n\n### Additional context\n\n_No response_",[3011,3012,3014],{"name":2957,"color":2958},{"name":3013,"color":2911},"wontfix-v2",{"name":2910,"color":2911},3072,"Add Infinity Scrolling Support to USelectMenu and much more components for Handling Large Datasets","2025-04-02T15:17:48Z","https://github.com/nuxt/ui/issues/3072",0.7602226,["Reactive",3021],{},["Set"],["ShallowReactive",3024],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fWiBf4PmV32ognjA18FS1Klh7z3Hqf8bDIQp8zcx7reA":-1},"/nuxt/ui/2240"]