Closed tskimmett closed 3 years ago
I managed to find this issue in Firefox's bug tracking site.
Hello, thanks for the PR. I'll review soon and merge/leave feedback.
@tskimmett Change set looks good. Can you amend the commit message to use commitizen format. With the current commit messages no new release will be generated as there is no fix commit.
@tskimmett Change set looks good. Can you amend the commit message to use commitizen format. With the current commit messages no new release will be generated as there is no fix commit.
The PR title looks to be formatted correctly. Can't you just do a squash merge, which takes the PR title as the commit message?
@tskimmett Change set looks good. Can you amend the commit message to use commitizen format. With the current commit messages no new release will be generated as there is no fix commit.
The PR title looks to be formatted correctly. Can't you just do a squash merge, which takes the PR title as the commit message?
I can try that then, I was not aware that is how github did it.
Yep, when you click "Squash Merge" it actually shows you the commit message, and you can also modify it right there if you need.
:tada: This PR is included in version 1.3.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@RonaldJerez Thanks for getting this in quickly!
No problem. Thanks for looking into the issue.
Description
Firefox has a bug/inconsistency in their DOM event implementation which allows "bubbled" event listeners (
useCapture: false
) to be executed before "captured" event handlers (useCapture: true
) when the listeners are placed on the same event target.The effect of this inconsistency is that a standard vue event listener (
@input="handleInput"
) can execute before the masking directive has a chance to process/capture the original input event, leading to potential inconsistencies where downstream event handlers receive a different value for the input than what is actually reflected by the DOM.To avoid this problem, this change set updates the directive by adding the
input
event listener on the input element's parent, instead of the input element itself. Placing the listener on the parent ensures the correct execution order (capture listeners before bubble listeners).Quote from this issue comment for more context and explanation:
Checklist