Closed
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.