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

fix(button): fix slots reactivity issue #51

Merged
merged 1 commit into from May 17, 2023

Conversation

rhmkstk
Copy link
Collaborator

@rhmkstk rhmkstk commented May 16, 2023

There are some classes apply the button when slots exist, because of slots are not reactivy we could not toogle this class when slots toogle with v-if.Fix this issue my moving this classes to template, because of vue re-render the component when slots toogle we can apply the classes

#33

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Story have been added / updated (features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix #33

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information:

There are some classes apply the button when slots exist, because of slots are not reactivy we could
not toogle this class when slots toogle with v-if.Fix this issue my moving this classes to template,
because of vue re-render the component when slots toogle we can apply the classes

#33
@rhmkstk rhmkstk linked an issue May 16, 2023 that may be closed by this pull request
@rhmkstk rhmkstk merged commit aab44eb into main May 17, 2023
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 this pull request may close these issues.

Reactivity issue on slots
1 participant