我正在使用 GWT 2.4。在 ipad(ios 7) 中查看 Web 应用程序时,滚动有延迟。滚动事件仅在触摸结束事件完成后触发,因此有时看起来没有响应。当滚动已经发生时,当我尝试滚动时,滚动也会冻结。有没有人有同样的问题?请帮我。
protected void addContentPane()
{
ScrollPanel touchScroller = new ScrollPanel();
touchScroller.setStyleName("touchScrollContainer");
touchScroller.setSize((width - 2) + "px", contentPaneHeight + "px");
touchScroller.getElement().setId(tabID);
touchScrollPane = new HTML("", true);
touchScrollPane.setHTML("A big boring String....");
touchScroller.setWidget(touchScrollPane);
contentPane.add(touchScroller);
}
}