Friday, March 28, 2014

Re: fullscreen and popuppanels



On Friday, March 28, 2014 3:07:20 PM UTC+1, Vassilis Virvilis wrote:
Hello,

I am playing with the fullscreen capability of newish browsers. It works fine for my GWT widget but the PopupPanels are not visible when in fullscreen mode.

They are not visible because the popup panels are children at the body element of the html and this is not visible anymore. You see my widget resides in a div and this div is promoted to fullscreen. Everything else not belonging to that div are not visible.

The problem is even bigger with submenuItems which are also popups. Assuming I am creating my custom MyPopupPanel which does not belong to RootPanel I would still have to fork MenuBar and MenuItem to make them use MyPopupPanel.

Any ideas?

https://code.google.com/p/google-web-toolkit/issues/detail?id=3855 is marked as PatchesWelcome ;-)

Note that https://code.google.com/p/google-web-toolkit/issues/detail?id=8538 gives a workaround, but of course it wouldn't work for menus. If PopupPanel supported custom parent elements, then submenus should just use the same parent element as their parent (recursively up to the MenuBar)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment