{"action":"opened","issue":{"url":"https://api.github.com/repos/text-mask/text-mask/issues/289","repository_url":"https://api.github.com/repos/text-mask/text-mask","labels_url":"https://api.github.com/repos/text-mask/text-mask/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/text-mask/text-mask/issues/289/comments","events_url":"https://api.github.com/repos/text-mask/text-mask/issues/289/events","html_url":"https://github.com/text-mask/text-mask/issues/289","id":192164936,"number":289,"title":"`createNumberMask` caret positioning bug","user":{"login":"msafi","id":4027731,"avatar_url":"https://avatars.githubusercontent.com/u/4027731?v=3","gravatar_id":"","url":"https://api.github.com/users/msafi","html_url":"https://github.com/msafi","followers_url":"https://api.github.com/users/msafi/followers","following_url":"https://api.github.com/users/msafi/following{/other_user}","gists_url":"https://api.github.com/users/msafi/gists{/gist_id}","starred_url":"https://api.github.com/users/msafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msafi/subscriptions","organizations_url":"https://api.github.com/users/msafi/orgs","repos_url":"https://api.github.com/users/msafi/repos","events_url":"https://api.github.com/users/msafi/events{/privacy}","received_events_url":"https://api.github.com/users/msafi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T01:35:23Z","updated_at":"2016-11-29T01:35:23Z","closed_at":null,"body":"The bug is reproducible on the website: https://text-mask.github.io/text-mask/\r\n\r\nIf user selects \"US dollar amount\". Then puts the input field in the following state...\r\n\r\n```\r\n$12,3|45\r\n```\r\n\r\n...then deletes the `3`, the correct state should be...\r\n\r\n```\r\n$1,2|45\r\n```\r\n\r\n...instead, it goes to this state...\r\n\r\n```\r\n$1|,245\r\n```"}}
{"actor":{"display_login":"msafi"}}