feat(field decorator): add teleport attribute and pass it through inp…#1936
feat(field decorator): add teleport attribute and pass it through inp…#1936Im-Victor wants to merge 1 commit into
Conversation
…ut and select components
|
Someone is attempting to deploy a commit to the varletjs Team on Vercel. A member of the Team first needs to authorize it. |
@varlet/cli
@varlet/icons
@varlet/import-resolver
@varlet/preset-tailwindcss
@varlet/preset-unocss
@varlet/shared
@varlet/touch-emulator
@varlet/ui
@varlet/use
@varlet/vite-plugins
commit: |
|
Why add this API, and what are its use cases? |
In Nuxt SSR mode, form components may encounter hydration issues when using teleport to body. |
https://codesandbox.io/p/devbox/hrhxx3
|
|
We first tried to solve this issue without adding a new API. Thank you for your feedback. |
|
@Im-Victor You can try to upgrade nuxt version to latest (e.g. 4.2.1), It works very well. However, the hydration error frequently occurs in version 3.x, which we believe is a issue with Nuxt itself. |
There is currently no plan to upgrade the nuxt version. For the time being, form classes will be handled with client-only. |

…ut and select components
Checklist
List of tasks you have already done and plan to do.
Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.