Home > Mobile >  MUI TextField inside Custom Tooltip loses focus when state changes
MUI TextField inside Custom Tooltip loses focus when state changes

Time:10-20

I'm using MUI, and I've got a custom Tooltip around one TextField in a form. As soon as I type anything in that particular TextField, it loses focus. It updates the state of that value of my formData object to the one character I was able to type, so that value is only ever one character long. The other TextFields in my form work as expected. If I replace the custom Tooltip with a standard one, that particular TextField works fine, too. I've replicated the issue on Edit gallant-dijkstra-9fynn

  • Related