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

Slots level mess up #242

Open
Doctor-wu opened this issue Jun 19, 2024 · 1 comment · May be fixed by #241
Open

Slots level mess up #242

Doctor-wu opened this issue Jun 19, 2024 · 1 comment · May be fixed by #241

Comments

@Doctor-wu
Copy link
Member

Currently, dynamic slots will re-render when dependencies change.
It will override static slots if the dynamic slot has the same name as the static slots which is not expected.
Slots should determine who renders based on the declaration order.

Check DEMO and change input's value, and then change back to "default", you will find the dynamic slots rendered, but it shouldn't, since static slot declared later than dynamic slot.

@Doctor-wu Doctor-wu linked a pull request Jun 19, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants