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

Allow to close the actions menu after click #622

Merged
merged 3 commits into from
Oct 3, 2019
Merged

Conversation

raimund-schluessler
Copy link
Contributor

Implements #615

Since it is apparently not possible to listen for an emitted event on a slot (vuejs/vue#4332), I just call the closeMenu method of the Actions component directly from the ActionButton. I guess this is ok, since an ActionButton will always have an Actions component as parent.

Also, it is working as expected 😉

@raimund-schluessler raimund-schluessler added 3. to review Waiting for reviews feature: actions Related to the actions components labels Oct 2, 2019
src/mixins/actionText.js Outdated Show resolved Hide resolved
src/mixins/actionText.js Outdated Show resolved Hide resolved
Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from one comment, looks good :)

@skjnldsv skjnldsv added this to the 0.13.0 milestone Oct 3, 2019
@skjnldsv skjnldsv merged commit a354320 into master Oct 3, 2019
@skjnldsv skjnldsv deleted the close-after-action branch October 3, 2019 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews feature: actions Related to the actions components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants