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

docs(clayui.com): LPD-34243 Fixes Focus Trap page syntax error #5862

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

pat270
Copy link
Member

@pat270 pat270 commented Aug 19, 2024

Comment on lines +19 to +23
return () => {
if (activateButtonRef.current) {
activateButtonRef.current.focus()
}
};
Copy link
Member

@matuzalemsteles matuzalemsteles Aug 19, 2024

Choose a reason for hiding this comment

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

Hmm that's strange the previous implementation is also correct. Maybe it's the editor's version.

Copy link
Member Author

Choose a reason for hiding this comment

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

@matuzalemsteles idk node? was having trouble with the optional chaining operator. Maybe we are not running these files through babel?

Copy link
Member

Choose a reason for hiding this comment

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

Probably yes... strange that it didn't break before. Well but we can go with this to avoid headache now.

@matuzalemsteles matuzalemsteles merged commit 164e1fa into liferay:master Aug 20, 2024
4 checks 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