Focus behavior on cell based controls
Abhinay Agarwal
abhinay_agarwal at live.com
Fri Nov 22 10:20:35 UTC 2024
Hi,
Controls like ListView, TreeView, etc. always have one of the cells with focused property set to true.
This causes the focusWithin property [1] (introduced in 19) on these controls to be set to true even when the actual focus is neither on them nor its children.
I wonder if there is a reason for setting the focused property on one the cells always to true?
- Abhinay
[1] https://openjfx.io/javadoc/23/javafx.graphics/javafx/scene/Node.html#focusWithinProperty
More information about the openjfx-dev
mailing list