I am building a TabSet with CodeMirror embedded in each tab. I use the DomIntegration technique recommended, returning a textarea from getInnerHTML then replace the node with CodeMirror.
Also I setRedrawOnResize(false);
It works fine on "normal" resize. However, it breaks when the native browser window gets resized, which triggers getInnerHTML again and breaks the application.
What makes it worse is that getInnerHTML gets triggered without following up onDraw(). So there is no way to replace the node again.
I am wondering if anybody experienced similar problem? Any possible solution is appreciated.
Also I setRedrawOnResize(false);
It works fine on "normal" resize. However, it breaks when the native browser window gets resized, which triggers getInnerHTML again and breaks the application.
What makes it worse is that getInnerHTML gets triggered without following up onDraw(). So there is no way to replace the node again.
I am wondering if anybody experienced similar problem? Any possible solution is appreciated.
Comment