codermarcos / simple-mask-money

💰 Simple mask money is a light, safe and typed package to format money!

Home Page:http://simple-mask-money.codermarcos.zone/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type `cursor: 'move'` input handler starts with cents and then moves to whole.

armoucar opened this issue · comments

After changing focus with keyboard (tab) in a SimpleMaskMoney field, we get the following behaviors:

Typing: 1111

When cursor: 'move':

cursor-move

When cursor: 'end':

cursor-end

hi @codermarcos, would you mind accepting this one and bumping a new patch of simple-mask-money? It's a very simple fix for a very annoying bug. Thanks!

commented

@armoucar did you manage to fix this issue? The issue is worse when there's a suffix instead of prefix.

I don't know what's the state of this since I'm not working on a project that has this lib as a dependency anymore. But as far as I can tell, my PR was merged, so that was supposed to be fixed.