Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
Scrollable Table Problem only works in Firefox
Hello,
I have made a Table, where i will control the scroll events like in this post:
And it works! But know I test the code on other browsers like Opera, Chrome or IE ... It don´t works. It only works in Firefox.
I have found the reason:
@Override
public void onScroll(ScrollEvent event)
{
super.onScroll(event);
final FocusableScrollPanel scrollBody = (FocusableScrollPanel) getWidget(1);
if (this.mouseUpHandlerRegistration == null) {
this.mouseUpHandlerRegistration = scrollBody.addDomHandler(
new MouseUpHandler()
{
public void onMouseUp(MouseUpEvent event)
{
//calls the update variables methode
processOnScroll(scrollBody, true);
}
}, MouseUpEvent.getType());
}
}
I think the mouseUpHandler will only called in Firefox? But i don´t know what i can do?
Can anybody help?
If comment the mouseUpHandler i can use the function but the perfomance sucks a little bit.
Best regards
Dominik
Last updated on
You cannot reply to this thread.