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

Manage focus with episode order controls #168

Open
lukavdplas opened this issue Feb 20, 2025 · 0 comments
Open

Manage focus with episode order controls #168

lukavdplas opened this issue Feb 20, 2025 · 0 comments

Comments

@lukavdplas
Copy link
Contributor

lukavdplas commented Feb 20, 2025

Problem: If you use keyboard controls to move an episode up/down in the narrative order, it makes sense for the user that the focus is kept on the same episode. This also enables to user to hit Enter a few times to move an episode further. Right now, this works when you move the episode down, but when you move it up, you lose keyboard focus and have to find your way back to the same episode.

I recently worked essentially the same control in another application, see CentreForDigitalHumanities/I-analyzer#1747 , which implements a solution to this problem. The code can't be copied directly because the HTML update is triggered in a different way, but perhaps this can still be transferred with minimal effort.

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

No branches or pull requests

1 participant