resize renderwindow problem only with firefox

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.

Any workaround on this issue ?

This might be related to jQuery and Firefox.

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.

I am back on some development and I have a code where this problem occurs.
Is there a solution to solve it ?

I have prepared an example test from https://jsfiddle.net/PBrockmann/vwn10ptd/
It works with google-chrome, not firefox.

Let me know…

ResizeSensor from css-element-queries may be worth looking into:

Hi Matt,
Thank you for your interest on this issue.
So let me understand, do you confirm the strange behaviour on firefox ?
Do you suggest me to implement a ResizeSensor ? I am afraid I will not be able to do that.

Yes.

This may be a limitation of the jQuery resize functionality.

I have posted a question on https://gitter.im/jquery/jquery

1 Like