Skip to content

Commit d04a133

Browse files
committed
The field should be enabled to support the tap on the task list item
1 parent c596f4e commit d04a133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -733,7 +733,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
733733
y += scrollY
734734

735735
// Check if we're in the task list area
736-
if (x + totalPaddingStart <= blockFormatter.listStyleLeadingMargin()) {
736+
if (isEnabled && x + totalPaddingStart <= blockFormatter.listStyleLeadingMargin()) {
737737
val line = layout.getLineForVertical(y)
738738
val off = layout.getOffsetForHorizontal(line, x.toFloat())
739739
if (getTaskListHandler()?.handleTaskListClick(

0 commit comments

Comments
 (0)