madmustachecompany / Blast-Workout-App

Help us blast your workout!
https://blastworkout.app/
3 stars 0 forks source link

🐛 [BUG] - input does not blur at all time #49

Open jwallet opened 1 year ago

jwallet commented 1 year ago

Description

Hello guys, me again

I found out that the input does not blur at all time. The blur occurs on mobile if the keyboard is still displayed and we touch the background. If we dismiss the keyboard first or tape DONE it will not blur.

It's not a big issue on mobile if we don't manually dismiss the keyboard, but when the app is screen shared the keyboard is never auto dismissed.

It happens for all inputs, but it's more frustrating in the workout form :

Reproduction steps

Steps on mobile:

  1. Edit a rep field or a weight field while a workout is in progress ( mine was a superset), like 15 to 16
  2. Dismiss the keyboard with done (replaces Enter button) or dismiss it using hard back button
  3. Try to blur the field by touching anything else than another input text and of course any button that replaces the whole component/page (unmounts it) like a modal. Exemple the background or even the completedSetButton
  4. The text field is still focused

Steps on screen or DeX

  1. Same as mobile
  2. With the keyboard opened try to dismiss it by touching anywhere on the screen except next excercice.
  3. The text field is still focused and the keyboard is still opened
  4. Move to another field while looking at the monitor you might insert new numbers in the orev field as well... by mistake.

Screenshots

https://github.com/madmustachecompany/Blast-Workout-App/assets/23088305/eef5d38b-dd59-4f85-966d-62ee04554b69

Logs

No response

OS

Android