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

main.addon.Navigator #5135

Closed
tobiu opened this issue Dec 5, 2023 · 2 comments
Closed

main.addon.Navigator #5135

tobiu opened this issue Dec 5, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@tobiu
Copy link
Collaborator

tobiu commented Dec 5, 2023

related to: #5123

The idea of the Navigator is a separation of selections from keyboard navigation, which should just move the focus state. A selection could happen when using the Enter or Space keys explicitly.

To not overload main.DomAccess, e.g. a new main thread addon would make sense (separation of concerns).

One important note:
neo.mjs relies on a strict separation of the view layer from the DOM. Components can get mounted / unmounted multiple times during their life-cycles. E.g. we could move an existing form.field.Select from one browser window to another one, in which case there is no way to re-use DOM.

Other use-cases are card layouts, which remove all inactive cards from the DOM by default (keeping the JS based instances though).

=> The Navigator has to be coupled to afterSetMounted().

Copy link

This issue is stale because it has been open for 90 days with no activity.

Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
@github-project-automation github-project-automation bot moved this from To do to Done in Accessibility Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
Status: Done
Development

No branches or pull requests

2 participants