XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.62k stars 291 forks source link

Improve signing experience when using non-english keyboard #521

Closed LiYanan2004 closed 4 months ago

LiYanan2004 commented 4 months ago

Context

Sometimes, we can not type password when we forgot to switch back to English keyboard.

Fix

It may related to a focus issue, so I added a .focused modifier to resolve the issue.

I think that might because when SecurityField gets focus, it automatically switches to English while in process, SecurityField loses the focus ( not sure why ).

By implementing the fix, it works correctly in any situation.

Comparison

Here is a comparison video for you to checkout what I have resolved.

https://github.com/XcodesOrg/XcodesApp/assets/37542129/ddca0d7b-aec3-40d0-a8c3-1b2cef3e8800

MattKiazyk commented 4 months ago

Thanks!