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

An unknown error occurred while using <transition>. #3779

Closed
LLLeno opened this issue May 16, 2021 · 2 comments · Fixed by #3781
Closed

An unknown error occurred while using <transition>. #3779

LLLeno opened this issue May 16, 2021 · 2 comments · Fixed by #3781
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working

Comments

@LLLeno
Copy link

LLLeno commented May 16, 2021

Version

3.0.11

Reproduction link

link

bug

Steps to reproduce

  1. Open the console panel.
  2. Click on tthe ext.
  3. Remove transiton in the Modal.vue.
  4. Click on the text again.

What is expected?

The content should update when click on the text.

What is actually happening?

In this example, the content is not updated when transition is used.

@edison1105
Copy link
Member

edison1105 commented May 16, 2021

The content of the slot needs to be passed like this:

return h(
            Modal,
            {
              modelValue: true,
              ref: 'modal'
            },
            {
              default:()=>[h('div', [h('div', footerVNodes)])]
            }
          )

@LLLeno
Copy link
Author

LLLeno commented May 17, 2021

The content of the slot needs to be passed like this:

return h(
            Modal,
            {
              modelValue: true,
              ref: 'modal'
            },
            {
              default:()=>[h('div', [h('div', footerVNodes)])]
            }
          )

Thanks, i corrected it, but it still doesn't work.

@HcySunYang HcySunYang added 🐞 bug Something isn't working ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. labels May 17, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants