Sample input field ① is an input mask that includes a decimal part.
Sample input field ② is an input mask for only the integer part.
Move the cursor to the integer part of ① and keep pressing the number key.
The cursor will then automatically move to the right edge and input will stop.
The same problem does not occur in ②.
Here is the sample