-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listImportant issues not at the top of the work listf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Great feature, just found a couple of minor bugs.
Expected
The cursor should only change when over text.
Actual
Currently, when the cursor is over a selectable widget such as Text
, the cursor changes to a text selection cursor over the entire area taken by the widget.
Take the following for example:
import 'package:flutter/material.dart';
class SelectionAreaExpandedRepro extends StatelessWidget {
const SelectionAreaExpandedRepro({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SelectionArea(
child: Scaffold(
body: Row(
children: const [
Expanded(
child: Text('Hello'),
),
],
),
),
),
);
}
}
SelectionArea.with.Expanded.Row.mp4
This also applies vertically.
SelectionArea.with.Expanded.Column.mp4
nilsreichardt and dutsky
Metadata
Metadata
Assignees
Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listImportant issues not at the top of the work listf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team