Have text selection span full line height for uneven sized text.

pull/1150/head
Benjamin Quinn 2 years ago
parent b389792002
commit d354fc2cf0
  1. 2
      lib/src/widgets/proxy.dart

@ -290,7 +290,7 @@ class RenderParagraphProxy extends RenderProxyBox
@override
List<TextBox> getBoxesForSelection(TextSelection selection) => child!
.getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.strut);
.getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.max);
@override
void performLayout() {

Loading…
Cancel
Save