I've isolated this issue down to the Chrome Dev-channel and Canary-channel.
The Stable and Beta channels work fine. The issue is reproduceable in
both 64-bit Win7 and 32-bit XP. I guess I'll take the issue over to the
Chrome forums since it looks like their problem.
When I see this issue, in the debugger what happens is inside HeaderPanel:
private void forceLayout() {
// No sense in doing layout if we aren't attached or have no content.
if (!isAttached() || content == null) {
return;
}
// Resize the content area to fit between the header and footer.
int remainingHeight = getElement().getClientHeight();
if (header != null) {
int height = Math.max(0, headerContainer.getOffsetHeight());
remainingHeight -= height;
The call to getClientHeight() is returning 0 in Chrome, but the proper
value in all other browsers.
Thanks,
Eric
On Thursday, March 8, 2012 2:53:30 PM UTC-6, Eric Andresen wrote:
>
> My application has a HeaderPanel that has suddenly stopped working in
> Chrome (32-bit XP version 19.0.1061.1). The GWT code hasn't changed, and
> IE8 and FireFox both still work.
>
> The symptom is that the header and footer appear properly, but the content
> has its height set to 0px so it doesn't show up. Sometimes if I wait or
> inspect the element it will appear, sometimes it never appears. This
> problem just appeared yesterday, on three separate people's PCs.
>
> Has anyone else seen any issues with HeaderPanel rendering in the last
> couple days?
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/bWMV-TynwNMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.