-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
When we have a MathField with a dynamic size, encapsulated inside an IntrinsicWidth for example, if we add a \sqrt LaTeX, the MathField doesn't size up, compare to when we are adding a \frac, or a ^ (it only size up in height, not in width, and this however the numbers inside that \sqrt)
To Reproduce
used the Math_keyboard_demo project to reproduce it, simply call MathField like this instead of having it in a SizedBox
IntrinsicWidth(
child: MathField(
controller: _expressionController,
decoration: InputDecoration(
labelText: 'Expression math field',
filled: true,
border: OutlineInputBorder(),
),
),
),
Expected behavior
When sqrt are added to the MathFieldEditingController, it should size up the MathField area
Screenshots
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working