From 5b482e0668a1d27086a289eb58f02f6bed9a7dd1 Mon Sep 17 00:00:00 2001 From: Benjamin Quinn Date: Fri, 31 Mar 2023 17:36:59 -0400 Subject: [PATCH] Have text selection span full line height for uneven sized text. (#1150) --- lib/src/widgets/proxy.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/widgets/proxy.dart b/lib/src/widgets/proxy.dart index 8f4d231f..155e620a 100644 --- a/lib/src/widgets/proxy.dart +++ b/lib/src/widgets/proxy.dart @@ -290,7 +290,7 @@ class RenderParagraphProxy extends RenderProxyBox @override List getBoxesForSelection(TextSelection selection) => child! - .getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.strut); + .getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.max); @override void performLayout() {