You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user presses down and focus moves to Button2. HorizontalList becomes inactive. VerticalList and Row1 become active.
The user presses down and focus moves to Button3. Row1 becomes inactive. Row2 becomes active.
The user presses up and focus moves to Button2. Row2 becomes inactive. Row1 becomes inactive.
The user presses up and focus moves to Button1. VerticalList becomes inactive. HorizontalList becomes active. Row1 remains active, however.
The user presses down and focus moves to Button2. VerticalList becomes active and emits an onActive event, but Row1 does not, as it was already active.
The above sequence is an issue if you expect some behaviour to happen when Row1 becomes active. In my case, I want the page to scroll to each of the rows when they become active. This happens most of the time, but not in the case of step 6.
To Reproduce
Repeat the above steps using the following code:
Adds the onFocusWithin and onBlurWithin functions, and the focusWithin
and blurWithin events. These are triggered when focus moved into/out of
a parent node.
See: bbc#96
Adds the onFocusWithin and onBlurWithin functions, and the focusWithin
and blurWithin events. These are triggered when focus moved into/out of
a parent node.
See: bbc#96
Describe the bug
Consider the following tree:
Button1
.Button2
.HorizontalList
becomes inactive.VerticalList
andRow1
become active.Button3
.Row1
becomes inactive.Row2
becomes active.Button2
.Row2
becomes inactive.Row1
becomes inactive.Button1
.VerticalList
becomes inactive.HorizontalList
becomes active.Row1
remains active, however.Button2
.VerticalList
becomes active and emits anonActive
event, butRow1
does not, as it was already active.The above sequence is an issue if you expect some behaviour to happen when
Row1
becomes active. In my case, I want the page to scroll to each of the rows when they become active. This happens most of the time, but not in the case of step 6.To Reproduce
Repeat the above steps using the following code:
You should get the following log:
Expected behaviour
There should be
inactive: Row1
at log line 21. There should beactive: Row1
at line 26.The text was updated successfully, but these errors were encountered: