You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The same code works great for imask (6.6.3) but behaves oddly for imask 7.x. I'm attempting to create a latitude input box that accepts DDM version of latitude.
To reproduce, focus on the input field and type 123456789N. It should look like 12° 34.5678' N
Now, select any of the numbers and type a new number. The direction (N) will disappear. With IMASK 6.6.3, the N does NOT disappear with the same code.
Expected behavior
I would expect the portion of the string not being changed to remain intact
Environment:
OS: macOS Sonoma 14.6
Browser All including safari 17.5 and Chrome 127
Version [e.g. 22]
IMask: 7.6.1
Framework/plugin: React 18.3.1
The text was updated successfully, but these errors were encountered:
Describe the bug
The same code works great for imask (6.6.3) but behaves oddly for imask 7.x. I'm attempting to create a latitude input box that accepts DDM version of latitude.
To Reproduce
Visit Codepen to see a working example
To reproduce, focus on the input field and type 123456789N. It should look like 12° 34.5678' N
Now, select any of the numbers and type a new number. The direction (N) will disappear. With IMASK 6.6.3, the N does NOT disappear with the same code.
Expected behavior
I would expect the portion of the string not being changed to remain intact
Environment:
The text was updated successfully, but these errors were encountered: