Skip to content
This repository was archived by the owner on Dec 11, 2017. It is now read-only.

Clear buffer after input blur#239

Closed
IsaacHunter wants to merge 1 commit intodigitalBush:masterfrom
IsaacHunter:master
Closed

Clear buffer after input blur#239
IsaacHunter wants to merge 1 commit intodigitalBush:masterfrom
IsaacHunter:master

Conversation

@IsaacHunter
Copy link

When you type in the middle of the mask (ie. "(_) 2-" for a phone number) if the mask is optional, the number will jump to the beginning of the mask on blur (ie. the input value becomes "(2" ) Then when you click back in the input the buffer will add the 2 back in the position it was in when you blurred the input (ie. the input value becomes "(2__) 2-__" ) This makes it necessary to clear the buffer on input blur

When you type in the middle of the mask (ie. "(___) __2-____" for a phone number) if the mask is optional, the number will jump to the beginning of the mask on blur (ie. the input value becomes "(2" ) Then when you click back in the input the buffer will add the 2 back in the position it was in when you blurred the input (ie. the input value becomes "(2__) __2-____" ) This makes it necessary to clear the buffer on input blur
@digitalBush
Copy link
Owner

It looks like the changes I just merged from #256 also fixed this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants