Collapsing bottom panel doesn't always resize editor correctly
In the example website, the need for resizing the editor component is buffered for 250 milliseconds.
However, on (de-)collapsing the bottom panel, the flag for resize needed is first set and then the panel collapses in an animation that can take more than 250 milliseconds (in my tests depending on browser and machine). In that case, the editor is resized according to an intermediate state of the bottom panel (while it was in the process of collapsing).
I actually hoped that the onSelect
would only be triggered after collapsing was done.