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, 2 weeks ago
Sizerepoter on Safari
I use the "sizeChanged" method in a listener and with Chrome, my code is executed, but not with Safari, why?
Have you got any solution ?
My code :
public abstract class AbstractFicheField extends CssLayout {
protected SizeReporter sizeReporter = new SizeReporter(this);
public AbstractFicheField() {
...
this.addResizeListener();
}
private void addResizeListener() {
this.sizeReporter.addResizeListener(new ComponentResizeListener() {
@Override
public void sizeChanged(ComponentResizeEvent event) {
...
}
}
}
}
Thanks.
Matthieu.
Last updated on
You cannot reply to this thread.