I use TextEditor in order to have a value popup editing for knob when you double click on it.
So far I am adding this TextEditor on the top level component so I can’t place it where I want and moreover the size I want.
Usually the TextEditor can be bigger than the knob itself.
My problem is when I have one of this knob in a modal component.
If I double click this knob, then the TextEditor do not receive any key events.
What would be the good way to solve this problem ?
I though that I could check for getCurrentlyModalComponent and add the TextEditor to it instead of the top level component, but what happens if my modal component is smaller than the TextEditor.