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) {
5252 * Input event handler
5353 *
5454 * @param {Event } event The event object
55+ * @param {HTMLInputElement } el The input element
5556 */
56- export function inputHandler ( event ) {
57+ export function inputHandler ( event , el ) {
5758 const { target, detail, inputType } = event
5859
5960 // We dont need to run this method on the event we emit (prevent event loop)
@@ -67,7 +68,7 @@ export function inputHandler(event) {
6768
6869 // Ignore input events related to composition, specific composition
6970 // 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 ) {
7172 return false
7273 }
7374
You can’t perform that action at this time.
0 commit comments