Page 1 of 1

Dynamic draggable region

PostPosted: Tue Jul 03, 2018 8:49 am
by lavv17
Hello!

Currently OnDraggableRegionsChanged is only called once on the page load. If later JS modifies CSS attributes, moves, creates, deletes DOM elements, the callback is not called again and the draggable regions are not re-calculated.

It prevents some scenarios when a dynamic control elements appear on the draggable header.

Is is possible to fix this problem?

Re: Dynamic draggable region

PostPosted: Tue Jul 03, 2018 1:28 pm
by Czarek
What OS and CEF version? Looks to me this might be an issue in upstream. You could check how it behaves in Electron (and maybe check its issue tracker as well)

Re: Dynamic draggable region

PostPosted: Wed Jul 04, 2018 2:56 am
by lavv17
windows as well as linux. CEF 3.3359.1774

Re: Dynamic draggable region

PostPosted: Wed Jul 04, 2018 10:18 am
by lavv17
I have found a chromium bug that may be related:
https://bugs.chromium.org/p/chromium/is ... 1398797585