Dynamic draggable region

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Dynamic draggable region

Postby lavv17 » Tue Jul 03, 2018 8:49 am

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?
lavv17
Techie
 
Posts: 23
Joined: Tue May 22, 2018 8:50 am

Re: Dynamic draggable region

Postby Czarek » Tue Jul 03, 2018 1:28 pm

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)
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Dynamic draggable region

Postby lavv17 » Wed Jul 04, 2018 2:56 am

windows as well as linux. CEF 3.3359.1774
lavv17
Techie
 
Posts: 23
Joined: Tue May 22, 2018 8:50 am

Re: Dynamic draggable region

Postby lavv17 » Wed Jul 04, 2018 10:18 am

I have found a chromium bug that may be related:
https://bugs.chromium.org/p/chromium/is ... 1398797585
lavv17
Techie
 
Posts: 23
Joined: Tue May 22, 2018 8:50 am


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 13 guests