我正在使用GWT 2.4。 在ipad(ios 7)中查看Web应用程序时,滚动会有延迟。 只有在触摸结束事件完成后,才会触发滚动事件,从而使其看起来无反应。当滚动已经发生时,滚动条也会冻结。有没有人有同样的问题?请帮帮我。只有在GWT中的触摸完成后滚动才会发生ScrollPanel
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);
}
}
2.5.1会发生吗? – Spiff
不,我没有用2.5来检查它。 – samuel
请用2.5.1检查一下,我认为问题会消失。 – Spiff