-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
feat(v-dialog): adds click:outside call #6719
feat(v-dialog): adds click:outside call #6719
Conversation
Codecov Report
@@ Coverage Diff @@
## next #6719 +/- ##
==========================================
+ Coverage 81.85% 81.92% +0.07%
==========================================
Files 329 329
Lines 8438 8439 +1
Branches 2138 2138
==========================================
+ Hits 6907 6914 +7
+ Misses 1440 1434 -6
Partials 91 91
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rkomiyama looks like you have opened feature PR to master
, but now all features should go to next
. Could you please change base to next
and resolve merge conflicts if they happen.
Thank you for your contribution and interest in improving Vuetify! Make sure to join us in the Discord community.
I've updated the target branch to |
Fine with me |
sounds good. |
Fix merge conflicts and we'll approve. |
118df19
to
1e3226e
Compare
This pull request is automatically deployed with Now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rkomiyama looks like there still are some merge conflicts
Yeah I'm not sure why. I rebased with the latest |
Could someone please click on the "Resolve conflicts" button to see what exactly is causing this? I feel like this might be an issue of GitHub and Git comparing branches in different ways. |
Rebase onto next, not dev |
1e3226e
to
33e222a
Compare
Hey @rkomiyama, TravisBuddy Request Identifier: dfc03d80-5624-11e9-8811-9d5afad75740 |
33e222a
to
5b6e66a
Compare
Edit: Never mind, it was an issue with not using the new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some issues with the existing tests in the
next
branch.
Along side the few other edits that need to be done in the review (these are all converts to vue-test-utils)
Seems like you need mocks for theme. (see comment below about const wrapper = mountFunction({
packages/vuetify/src/components/VDialog/__tests__/VDialog.spec.ts
Outdated
Show resolved
Hide resolved
packages/vuetify/src/components/VDialog/__tests__/VDialog.spec.ts
Outdated
Show resolved
Hide resolved
packages/vuetify/src/components/VDialog/__tests__/VDialog.spec.ts
Outdated
Show resolved
Hide resolved
packages/vuetify/src/components/VDialog/__tests__/VDialog.spec.ts
Outdated
Show resolved
Hide resolved
5b6e66a
to
f125a96
Compare
f125a96
to
1d33aa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
Adds an emitter which emits
click:outside
when thecloseConditional()
gets called.Duplicate of this PR: #5593
Motivation and Context
Fixes #5533
How Has This Been Tested?
A new unit test has been created to check if
click:outside
has been called.Markup:
Types of changes
Checklist:
master
for bug fixes and documentation updates,dev
for new features and breaking changes).