I have a set of Controls which use PopupView
.
Since the update to Charm 4.0.0, they show some weird behaviour.
When I selected a Node
containe
Thanks for reporting. I've filed an issue so it get fixed as soon as possible.
In the meantime, a workaround for the PopupView can be this:
PopupView popupView = new PopupView(button) {
private final GlassPane glassPane = MobileApplication.getInstance().getGlassPane();
{
this.setOnMouseReleased(e -> this.hide());
}
@Override public void show() {
// before showing add the glassPane (issue #2):
this.mobileLayoutPaneProperty().set(glassPane);
super.show();
}
@Override public void hide() {
// when hiding don't show again (issue #1):
setShowing(false);
super.hide();
}
};