resize renderwindow problem only with firefox

(Patrick Brockmann) #1

I would like to have some feedback on a specific problem that appears only with firefox (tested with 67.0.4 (64-bit)) but not with google-chrome (Version 75.0.3770.100 (Official Build) (64-bit)).

With firefox, the resizestop event is not triggered so impossible to release the grip control (resize grid).
With google-chrome, it works nicelly and renderWindows are resizable.

Test from https://jsfiddle.net/PBrockmann/vwn10ptd/

Am I missing something ? I thing it is related to the use of both vtk.js and firefox because I have an application with resizable divs that works correctly with firefox.

Let me know.

(Patrick Brockmann) #2

Any workaround on this issue ?

(Sebastien Jourdain) #3

This might be related to jQuery and Firefox.

(Patrick Brockmann) #4

Yes it is. But also related to vtk.js events I imagine.
What is strange is that if you comment the BindEvent method

interactor.bindEvents($('#div_' + Id)[0]);

then is works nicely.