Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.0.0-beta.3] VTextFields don't like slots when hot reloading with vite #15219

Closed
M4thG33k opened this issue Jun 7, 2022 · 1 comment
Labels
duplicate The issue has already been reported

Comments

@M4thG33k
Copy link

M4thG33k commented Jun 7, 2022

Environment

Vuetify Version: 3.0.0-beta.3
Vue Version: 3.2.37
Browsers: Chrome 100.0.4896.162
OS: Linux x86_64

Steps to reproduce

  1. Clone the project linked in this bug report.
  2. Run via the dev script in the package.json file (uses Vite)
  3. Edit the text marked Edit me in the "append inner" slot

Expected Behavior

The component should re-render without issues.

Actual Behavior

The component errors out with a warning in the console about

Failed to resolve directive: intersect 
  at <VInput...
TypeError: Cannot read properties of undefined (reading 'deep')
    at withDirectives (runtime-core.esm-bundler.js:2764:17)
    at Proxy.default (VTextField.tsx:184:21)
    at Proxy.<anonymous> (VField.tsx:269:15)
    at renderComponentRoot (runtime-core.esm-bundler.js:896:44)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5580:57)
    at ReactiveEffect.run (reactivity.esm-bundler.js:185:25)
    at Object.instance.update (runtime-core.esm-bundler.js:5694:56)
    at updateComponent (runtime-core.esm-bundler.js:5519:26)
    at processComponent (runtime-core.esm-bundler.js:5452:13)
    at patch (runtime-core.esm-bundler.js:5038:21)

Reproduction Link

https://github.com/M4thG33k/VuetifyIssue/blob/main/src/components/InputWithAppend.vue

Other comments

This issue seems to occur whenever I use any explicit slots in a VTextField; using the append-inner-icon, I don't get a crash, but I also do not get a hot-reloaded icon, forcing me to refresh the application.

If this is the wrong repository to report this issue, I apologize. If more details are needed, please let me know. Thank you.

@KaelWD
Copy link
Member

KaelWD commented Jul 7, 2022

Duplicate of #15163

@KaelWD KaelWD marked this as a duplicate of #15163 Jul 7, 2022
@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2022
@KaelWD KaelWD added duplicate The issue has already been reported and removed S: triage labels Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants