[material-ui][InputBase] Text cursor jumps several lines up when inserting text fragment with new line at the end. #45148
Labels
bug 🐛
Something doesn't work
component: text field
This is the name of the generic UI component, not the React module!
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
Steps to reproduce
Steps:
InputBase
text field. Your text cursor should be at the new empty line in the very end of the field.Current behavior
You should see that text cursor is not at the last empty line of the input anymore.
Expected behavior
Text cursor should still be at the last empty line of the input, because we are inserting to the end of it.
Context
This is basic usage of the component without any complex configurations or customizations.
Your environment
npx @mui/envinfo
Search keywords: InputBase, material-ui, multiline, text cursor
The text was updated successfully, but these errors were encountered: