{"action":"closed","issue":{"url":"https://api.github.com/repos/igorescobar/jQuery-Mask-Plugin/issues/340","labels_url":"https://api.github.com/repos/igorescobar/jQuery-Mask-Plugin/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/igorescobar/jQuery-Mask-Plugin/issues/340/comments","events_url":"https://api.github.com/repos/igorescobar/jQuery-Mask-Plugin/issues/340/events","html_url":"https://github.com/igorescobar/jQuery-Mask-Plugin/issues/340","id":102406551,"number":340,"title":"Last character typed outside the mask is registered incorrectly but not shown","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-21T15:40:42Z","updated_at":"2015-12-04T17:29:13Z","closed_at":"2015-12-04T17:29:13Z","body":"The last character I type is stored incorrectly but not shown.\r\n\r\nE.g.:\r\n\r\n```javascript\r\n$('input').mask('99', {\r\n    onChange: function () {\r\n        console.log($('input').val());\r\n    }\r\n});\r\n```\r\n\r\nIf I then type '123', only '12' is displayed, but '123' is shown by `$('input').val()`."}}