mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
parent
93ffb116b7
commit
2736247d09
2 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ Improvements 🙌:
|
|||
|
||||
Bugfix 🐛:
|
||||
- Double bottomsheet effect after verify with passphrase
|
||||
- EditText cursor jumps to the start while typing fast (#2469)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
|
|
@ -67,6 +67,8 @@ abstract class FormEditTextItem : VectorEpoxyModel<FormEditTextItem.Holder>() {
|
|||
// Update only if text is different and value is not null
|
||||
if (value != null && holder.textInputEditText.text.toString() != value) {
|
||||
holder.textInputEditText.setText(value)
|
||||
// To fix jumping cursor to the start https://github.com/airbnb/epoxy/issues/426
|
||||
holder.textInputEditText.setSelection(value?.length ?: 0)
|
||||
}
|
||||
holder.textInputEditText.isEnabled = enabled
|
||||
inputType?.let { holder.textInputEditText.inputType = it }
|
||||
|
|
Loading…
Reference in a new issue