Skip to content

[custom elements api] using v-if in custom element slot doesn't work #13206

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

Open
wolandec opened this issue Apr 15, 2025 · 0 comments · May be fixed by #13208
Open

[custom elements api] using v-if in custom element slot doesn't work #13206

wolandec opened this issue Apr 15, 2025 · 0 comments · May be fixed by #13208
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: custom elements

Comments

@wolandec
Copy link

Vue version

3.5.13

Link to minimal reproduction

https://play.vuejs.org/#eNqlVU1v2zAM/SucL3HQfLTbTpkTbA0CbDtsRVtgF19cm07UypJhyUmKIP99lGTXjmO0G3qzyUfyiXyiDt63PJ9sS/RmXqDiguUaFOoyX4SCZbksNBwKTEcQyywvNSZHSAuZwYBCBi+Q5epPEeU5Fr8FVv7JtG00FQgeilgKpYGpu43cCZgD5fbTiCscfmncsSyFrpyXw8b+UGotxT3ujbMm5PvD+QIOoQBgKfg2drKNeIkwn8/hckhpdFkIGJiap1QprUahiVl/8FUT/J0l+H/BH/+hMkTriAmIREJdR5CCP8N2rAy8nb7Os+QsfoIMXRi5jrY7oUhLEWsmBWwoFfJr2yiL9oeuNa7jNT34cGIwiBb9iwvKHIpg6gRBUqAfjVnOI430BxC4UcDX2NSYh95Z3dBbHA7NwI7HYOr+bDbKcNKOWUWHMlVfFG9gAMtSaRIUcsxMw3Yu6KWBDhQkbLtwsnEnZAoOB2swlY23jaz118JWphrdgGkeLCVeLvsCrojZsv6GUjGxthDDKGFmCD0ZzETfzFGPvZslOLlKZAqmrWHQr9LP3HyaWnbaWVSsmRhrmc/g6jLf1+OscN7I04oKpWw9eVRS0N23YYZgljNOdXJDQYXezCU0vohzuftpbboocVTb4w3GTz32R7U3ttC7KVBhscXQe/FpIojauVd3v0ggLWcmk5IT+hXnLSrJS8PRwa5LkRDtFs6y/WHXE3X3Xq32JBdVH8oQNcijxYceraflK0dv6H6afLZx1FHqotPmykmzWnPdRQo8EmuavaaUraUKCaZM4E0hcwXtpWr3YMsZtO/vDB6k5BgR5Ljw6fK/dkdb4u1eqkBxqWFaycsJ7URV5nCd/f3egzWvRadrzYvR007Tj07qE9g7elc/K8uVITHvy+53KY2IhdpEidzdSqlnYN8ucGvYPAIf4naAmpBs/IGzjasVNpYCB8OhU1cH7ij0RowcT/NOvrGbz4PNfrXrpW/BWi3UUjiPPVPG8S/6YdrT

Steps to reproduce

Click on the button multiple times and see no <div v-if="count > content

What is expected?

When we click on the button third time both Count > 1 using v-if condition and Count > 1 using v-show condition should be visible when isShown true and count is more that 1.

What is actually happening?

content from

never shows

System Info

Any additional comments?

possibly related to this issue #13199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: custom elements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants