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

fix: incorrect focus setting when opening multiple terms sequentially #596

Conversation

mournfulCoroner
Copy link
Contributor

@mournfulCoroner mournfulCoroner commented Dec 28, 2024

Bug case: when opening several terms sequentially, if there are no interactive elements in their contents, the focus remains on the open button of the previous term.

term.problem.mov

Fix: if there are no interactive elements in the content, I add a check to see if the focus is set on the current term button. if not, then I rearrange the focus.

@martyanovandrey martyanovandrey self-requested a review January 10, 2025 11:54
@martyanovandrey martyanovandrey merged commit 1630254 into diplodoc-platform:master Jan 10, 2025
1 check passed
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