I've got an interesting problem:
I have a long vertical list of widgets. Each widget has assigned click handler, which eventually calls placeController.goTo(). The new place maps to the same activity class, which reuses the same instance of view with the vertical list of widgets.
The problem is that when I do
public void start(AcceptsOneWidget panel, EventBus eventBus) {
panel.setWidget(view.asWidget());
}
in the activity, it resets scroll position of my vertical list to the top, and users has to scroll it down again to find the item they just clicked.
I'm not sure how to easily fix that, because GWT doesn't explicitly resets the scroll position, it just reattaches the view widget to the same parent. Any ideas?