refactor(ui_kit): remove selection area of rich text, its not his reponsibility
continuous-integration/drone/push Build is failing

This commit was merged in pull request #169.
This commit is contained in:
2023-03-02 15:52:55 +01:00
parent 70c6d91310
commit dbe8554eb7
@@ -87,13 +87,10 @@ class RichTextBuilder extends RichTextBuilderComponent
);
},
);
return SelectionArea(
child: Text.rich(
TextSpan(children: [root.toInlineSpan(customParser)]),
textHeightBehavior:
const TextHeightBehavior(applyHeightToLastDescent: false),
),
return Text.rich(
TextSpan(children: [root.toInlineSpan(customParser)]),
textHeightBehavior:
const TextHeightBehavior(applyHeightToLastDescent: false),
);
}
}