Skip to content

Commit 8a6aa05

Browse files
committed
Don't lose focus after task list item is tapped
1 parent 8d9e2f8 commit 8a6aa05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
748748
x,
749749
totalPaddingStart
750750
) == true) {
751-
refreshText()
751+
refreshText(stealEditorFocus = false)
752752
return false
753753
}
754754
}

aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecTaskListSpan.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ open class AztecTaskListSpan(
147147

148148
companion object {
149149
// Extra padding added to the target tap area for checkboxes.
150-
const val PADDING_SPACE = 20
150+
const val PADDING_SPACE = 15
151151
}
152152
}

0 commit comments

Comments
 (0)