-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Panel: refresh method missing #5659
Comments
Thanks for reporting the issue. The missing refresh method can be considered as a bug so let's try to get this in 1.3.1 |
Cool. Thanks! |
For 1.4 we plan to work on making it possible to have the panel markup outside the page (so you don't need to duplicate a navmenu on each page). This probably also makes it possible to make the panel widget work without wrapping all the page contents, because we can just transition the page. Beside that "the missing refresh method can be considered as a bug" is questionable from a semver point of view, so I am going to change the milestone to 1.4. |
Changed the title of this ticket (original: "panels don't recognize dynamic toolbars, because self._fixedToolbar will be empty"). |
@uGoMobi: much better |
Can someone please give me a quick overview on how to reproduce this issue? That way I can test it / fix it :-) |
We made external panels work in 1.4. Unfortunately we couldn't just transition the page and stop wrapping page contents, because it broke the fixed toolbars on some platforms. |
I'm playing around with the panel widget and dynamically created content.
When I generate header and footer dynamically, the panel does not "recognize" them = the panel will always open underneath either fixed/non-fixed header and footer.
I traced it to
self._fixedToolbar
in thepanel widget
being empty. Probably because the toolbars are inserted after the panel widget is setup.As there is no refresh or panel update method, I can't update the parameters when the dynamic content is inserted.
I hack-fixed it like this inside the panel widget
_open
method:Which still misses the fix for Android plus it's not something I would want to run every time I'm opening the panel.
Is there any other means of updating the panel-config after injecting dynamic content?
The text was updated successfully, but these errors were encountered: