Sorry Ben. Thanks for quick reply, it was a scrollbar issue. newItem
scrolls to the bottom of the existing page, even if no new content is
added. Is there any way to override this issue, without using
Window.scrollTo(0,0) (which causes a small flash and doesn't look
smooth)?

On Mar 21, 3:21 pm, Ben Imp <[email protected]> wrote:
> As far as I am aware, adding a new history token only fires history
> events.  Unless you are listening to them, it shouldn't do anything.
>
> I haven't used the GWT MVP framework, though.  If you are using that,
> this may be the result of some baked-in behavior.
>
> -Ben
>
> On Mar 21, 10:11 am, Navigateur <[email protected]> wrote:
>
> > Is History.newItem supposed to clear the screen? I don't want this to
> > happen, yet it is. The "history" part is working (back, forward etc.)
> > but is there any way of adding a history token without it clearing the
> > screen? (it's definitely newItem that's clearing the screen on its own
> > in my case, not "onValueChange").
>
> > Or is this a known issue between newItem and certain types of panel?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to