{"action":"created","issue":{"url":"https://api.github.com/repos/nosir/cleave.js/issues/319","repository_url":"https://api.github.com/repos/nosir/cleave.js","labels_url":"https://api.github.com/repos/nosir/cleave.js/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/nosir/cleave.js/issues/319/comments","events_url":"https://api.github.com/repos/nosir/cleave.js/issues/319/events","html_url":"https://github.com/nosir/cleave.js/issues/319","id":308829224,"node_id":"MDU6SXNzdWUzMDg4MjkyMjQ=","number":319,"title":"Cursor position issue for prefix & noImmediatePrefix","user":{"login":"tomaszmittlener","id":24290064,"node_id":"MDQ6VXNlcjI0MjkwMDY0","avatar_url":"https://avatars2.githubusercontent.com/u/24290064?v=4","gravatar_id":"","url":"https://api.github.com/users/tomaszmittlener","html_url":"https://github.com/tomaszmittlener","followers_url":"https://api.github.com/users/tomaszmittlener/followers","following_url":"https://api.github.com/users/tomaszmittlener/following{/other_user}","gists_url":"https://api.github.com/users/tomaszmittlener/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszmittlener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszmittlener/subscriptions","organizations_url":"https://api.github.com/users/tomaszmittlener/orgs","repos_url":"https://api.github.com/users/tomaszmittlener/repos","events_url":"https://api.github.com/users/tomaszmittlener/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszmittlener/received_events","type":"User","site_admin":false},"labels":[{"id":378425154,"node_id":"MDU6TGFiZWwzNzg0MjUxNTQ=","url":"https://api.github.com/repos/nosir/cleave.js/labels/bug","name":"bug","color":"fbca04","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-27T05:43:24Z","updated_at":"2018-07-16T12:47:17Z","closed_at":"2018-07-16T12:47:17Z","author_association":"NONE","body":"I'm facing an issue while using prefix in React. When I add the first character, the cursor jumps one place backward, so the next character goes before the first character.\r\n\r\nAlso sometimes, when I want to clear the input with backspace, some of the numbers steal remain.\r\n\r\nHere is a demo:\r\n\r\n\r\nJsFiffle fork:\r\nhttps://jsfiddle.net/zub69ohg/2/\r\ndemo:\r\n![2018-03-27 07 29 18](https://user-images.githubusercontent.com/24290064/37948892-7e3d177a-3192-11e8-99ae-0653676cb68c.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/nosir/cleave.js/issues/comments/405235873","html_url":"https://github.com/nosir/cleave.js/issues/319#issuecomment-405235873","issue_url":"https://api.github.com/repos/nosir/cleave.js/issues/319","id":405235873,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTIzNTg3Mw==","user":{"login":"nosir","id":352617,"node_id":"MDQ6VXNlcjM1MjYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/352617?v=4","gravatar_id":"","url":"https://api.github.com/users/nosir","html_url":"https://github.com/nosir","followers_url":"https://api.github.com/users/nosir/followers","following_url":"https://api.github.com/users/nosir/following{/other_user}","gists_url":"https://api.github.com/users/nosir/gists{/gist_id}","starred_url":"https://api.github.com/users/nosir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosir/subscriptions","organizations_url":"https://api.github.com/users/nosir/orgs","repos_url":"https://api.github.com/users/nosir/repos","events_url":"https://api.github.com/users/nosir/events{/privacy}","received_events_url":"https://api.github.com/users/nosir/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T12:47:17Z","updated_at":"2018-07-16T12:47:17Z","author_association":"OWNER","body":"Oh sorry, seems I missed tagging this issue when released the fix:\r\nhttps://github.com/nosir/cleave.js/releases/tag/v1.3.7\r\nIt should be fixed a while ago, closing the ticket, please let me know if you have any questions"}}
{"actor":{"display_login":"nosir"}}