Darkempire78 / OpenCalc

A simple and beautiful calculator for Android
GNU General Public License v3.0
740 stars 83 forks source link

Cursor jumps when deleting a decimal with a leading zero #342

Closed mwadle closed 2 months ago

mwadle commented 6 months ago

Describe the bug The cursor jumps to the right one spot when deleting a decimal with a leading zero

To Reproduce

  1. Enter "0.12"
  2. Place cursor to the right of the decimal and press backspace button
  3. Observe cursor jumping between the 1 and the 2 after decimal is deleted

Expected behavior Cursor remains to the left of the 1 digit

Screenshots/videos If applicable, add screenshots or videos to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Darkempire78 commented 2 months ago

fixed