inputmask
Advanced tools
Comparing version 5.0.8-beta.70 to 5.0.8-beta.71
@@ -11,3 +11,3 @@ import { | ||
import {keys} from "./keycode.js"; | ||
import {iphone} from "./environment"; | ||
import {iphone, mobile} from "./environment"; | ||
import {handleRemove, isComplete, isSelection, isValid} from "./validation"; | ||
@@ -210,2 +210,3 @@ import {applyInputValue, checkVal, clearOptionalTail, HandleNativePlaceholder, writeBuffer} from "./inputHandling"; | ||
const inputmask = this.inputmask, opts = inputmask.opts, $ = inputmask.dependencyLib; | ||
// console.log(e.inputType); | ||
@@ -309,3 +310,3 @@ function analyseChanges(inputValue, buffer, caretPos) { | ||
// Japanese IME hack #2662 | ||
if (inputmask.skipNextInsert && e.inputType === "insertText" && changes.action === "insertText" && inputmask.isComposing) { | ||
if (!mobile && inputmask.skipNextInsert && e.inputType === "insertText" && changes.action === "insertText" && inputmask.isComposing) { | ||
return false; | ||
@@ -312,0 +313,0 @@ } |
{ | ||
"name": "inputmask", | ||
"version": "5.0.8-beta.70", | ||
"version": "5.0.8-beta.71", | ||
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.", | ||
@@ -5,0 +5,0 @@ "main": "dist/inputmask.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
894623
11565