Document.get().getScrollHeight() returns same value always ?
I call "Document.get().getScrollHeight()" when I have a scrolling area
such that it returns something like 1600.
When I remove widgets such that the vertical scrolling appears, and
call this method again, it returns the same value :(
Why?
I tested it in IE7 and FF 7 (GWT 2.3).
For some reason it always returns the highest value. It returns the
small value when no vertical scrolling appears, but when it once
returned a high value when vertical scrolling is present, it will
return this same high value when I remove this widgets again such that
no vertical scrolling appears.
BTW: the widgets are really removed from the DOM and not just made
invisible.
- Ed
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home