Skip to content

Commit 8b5969b

Browse files
committed
comment
1 parent cd8a28b commit 8b5969b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/freya-components/src/input.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ impl Component for Input {
483483
e.prevent_default();
484484
if cfg!(target_os = "android") {
485485
if a11y_id.is_focused() {
486+
// Require a second press to enabling dragging on Android
486487
is_dragging.set_if_modified(true);
487488
}
488489
} else {
@@ -507,6 +508,7 @@ impl Component for Input {
507508
e.prevent_default();
508509
if cfg!(target_os = "android") {
509510
if a11y_id.is_focused() {
511+
// Require a second press to enabling dragging on Android
510512
is_dragging.set_if_modified(true);
511513
}
512514
} else {

0 commit comments

Comments
 (0)