When using JavaFX Webview, the scrolling bars overlap the content, potentially hiding controls and the likes.
I tested in JavaFX 11, 13, 14, and 15 early access, and all have the same issue.
How do I make it so the scrollbars don't block content?
Here is a short tidbit:
package com.company;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) { launch(args); }
public void start(Stage primaryStage) {
WebView webView = new WebView();
webView.getEngine().load("https://mdbootstrap.com/docs/jquery/modals/basic/");
VBox vBox = new VBox(webView);
Scene scene = new Scene(vBox, 960, 600);
primaryStage.setScene(scene);
primaryStage.show();
}
}



