On Mon, 2 Aug 2021 13:20:29 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

> > 3. I think the way you are propagating `focusWithin` might not work if 
> > nodes are added or removed from the scene graph.
> 
> I've added a test for this case: 
> `FocusTest.testFocusStatesAreClearedFromFormerParentsOfFocusedNode`.

might also need a test that verifies the focusWithin of a parent added 
somewhere above the focused node? hmm .. or maybe not, that would require to 
re-arrange a complete subtree ..

-------------

PR: https://git.openjdk.java.net/jfx/pull/475

Reply via email to