we came across a curious behavior of ScrollPane in 8u5: the scrollpane content can be moved around with arrow keys if it is smaller than the viewport. This can be reproduced in SceneBuilder with simple FXML:

<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import javafx.scene.control.*?>

<ScrollPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" 
prefHeight="517.0" prefWidth="272.0" xmlns="http://javafx.com/javafx/8"; xmlns:fx="http://javafx.com/fxml/1";>
      <CheckBox mnemonicParsing="false" style="-fx-background-color: red;" 
text="CheckBox" />

Just a scrollpane with a checkbox in it. It looks like a bug to me but maybe I am missing something?


Reply via email to