-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Hi, and thanks for your library.
Depending on the formatting function passed in (e.g. insertion of commas as a thousands-separator is a common one), the cursor can sometimes end up in surprising position for the user when typing. There is a decent treatment of the issue here: http://michaellaszlo.com/cursor-maintenance/introduction/
Is there any ability to accommodate for this with the current API?
If not, it would be useful for there to be some sort of 'cursor maintainer' function that when passed the input pre-and-post format, returns a new cursor position.
peterhadlaw and agoldis
Metadata
Metadata
Assignees
Labels
No labels