• Renzo Olivares's avatar
    Fix SelectionArea select-word edge cases (#136920) · f60e54b2
    Renzo Olivares authored
    This change fixes issues with screen order comparison logic when rects are encompassed within each other. This was causing issues when trying to select text that includes inline `WidgetSpan`s inside of a `SelectionArea`.
    
    * Adds `boundingBoxes` to `Selectable` for a more precise hit testing region.
    
    Fixes #132821
    Fixes updating selection edge by word boundary when widget spans are involved.
    Fixes crash when sending select word selection event to an unselectable element.
    f60e54b2
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...