Skip to content

TextSelectionGestureDetector.onDoubleTapDown sets the wrong SelectionChangedCause #121091

@bleroux

Description

@bleroux

TextSelectionGestureDetector.onDoubleTapDown calls selectWord with the cause parameter set to SelectionChangedCause.tap instead of SelectionChangedCause.doubleTap.

https://github.com/flutter/flutter/blob/ae8d05184ef3d571349098daacaa2c7cf885b97b/packages/flutter/lib/src/widgets/text_selection.dart#L2421-2438

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsfound in release: 3.7Found to occur in 3.7found in release: 3.8Found to occur in 3.8frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions