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
Copy file name to clipboardExpand all lines: PasswordTextField/PasswordTextField.swift
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -174,16 +174,18 @@ open class PasswordTextField: UITextField {
174
174
*/
175
175
openfunc setSecureMode(_ secure:Bool)
176
176
{
177
-
178
-
self.resignFirstResponder()
177
+
178
+
// Note by Camilo: it cause weird animation.
179
+
//self.resignFirstResponder()
179
180
self.isSecureTextEntry = secure
180
181
181
182
/// Kind of ugly hack to make the text refresh after the toggle. The size of the secure fonts are different than the normal ones and it shows trailing white space
0 commit comments