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(DropDownMenu): move getPrevNextFocus for perf & ssr support #4441

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

zettca
Copy link
Member

@zettca zettca commented Nov 20, 2024

  • move getPrevNextFocus inside the block where it's needed, for SSR support & performance reasons; as it uses document.querySelectorAll every render
  • memo classes

image

@zettca zettca requested a review from a team as a code owner November 20, 2024 09:59
@zettca zettca requested review from francisco-guilherme and MEsteves22 and removed request for a team November 20, 2024 09:59
@github-actions github-actions bot temporarily deployed to uikit/pr-4441 November 20, 2024 10:03 Destroyed
@zettca zettca merged commit 101d28d into master Nov 20, 2024
12 checks passed
@zettca zettca deleted the fix/stuffs branch November 20, 2024 11:07
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