File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ export function getInputElement(el) {
52
52
* Input event handler
53
53
*
54
54
* @param {Event } event The event object
55
+ * @param {HTMLInputElement } el The input element
55
56
*/
56
- export function inputHandler ( event ) {
57
+ export function inputHandler ( event , el ) {
57
58
const { target, detail, inputType } = event
58
59
59
60
// We dont need to run this method on the event we emit (prevent event loop)
@@ -67,7 +68,7 @@ export function inputHandler(event) {
67
68
68
69
// Ignore input events related to composition, specific composition
69
70
// events will handle updating the input after text is composed
70
- if ( [ 'insertCompositionText' , 'insertFromComposition' ] . includes ( inputType ) ) {
71
+ if ( [ 'insertCompositionText' , 'insertFromComposition' ] . includes ( inputType ) && el [ CONFIG_KEY ] . config . mask ) {
71
72
return false
72
73
}
73
74
You can’t perform that action at this time.
0 commit comments