Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Mover): Connected Movers. #395

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat(Mover): Connected Movers. #395

wants to merge 2 commits into from

Conversation

mshoho
Copy link
Member

@mshoho mshoho commented Jul 25, 2024

The ability to connect nested Movers via DOM hierarchy so that the parent Movers can continue handling the key press when the child Mover couldn't find new focus target.

@mshoho mshoho requested a review from ling1726 July 25, 2024 13:25
groupper: {},
mover: {
direction: MoverDirections.Vertical,
connected: MoverConnections.Parent,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are Child and Parent relationships both needed for connected movers? Is there a scenario where you can have a parent mover with Child and only a subset of movers will use Parent?

</div>

<div
tabIndex={0}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens when a connected mover is not focusable?

},
})}
>
<button>Button1</button>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update button names to be a bit more specific to their level of nesting

i.e. Button1L3

<div
{...getTabsterAttribute({
mover: {
direction: MoverDirections.Horizontal,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens when parent and child movers share the same direction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants