Open Laslo89 opened 1 year ago
So, why not change the name?
Use FadeTransition
instead.
To make my problem a bit clearer I have kept the example of the transition component simple. In fact, I use it in such a way that a transition name is passed as prop, which then dynamically decides which transition is executed. I think the name BaseTransition is appropriate and I don't plan to change it. Especially since I have more than one component prefixed with Base.
Vue version
3.3.4
Link to minimal reproduction
Broken Transition
Steps to reproduce
BaseTransition
.import BaseTransition from 'file-path/base-transition.vue
BaseTransition
in your Template by wrapping a DOM element.What is expected?
BaseTransition
should be an allowed name for a custom component.What is actually happening?
The transition effect never starts. Instead the wrapped element is rendered instantly
System Info
No response
Any additional comments?
If my reusable Transtition is imported under another name it works just fine. But according to official Docs / Conventions vue recommends using
Base
prefix or at least using it as an example / possible prefix.conventions