-
Notifications
You must be signed in to change notification settings - Fork 6
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(side-drawer): refactor side drawer #1022
Conversation
|
🚀 Latest successful build of the PR deployed here. 🚀 |
*/ | ||
onKeydown({ key }: KeyboardEvent): void { | ||
console.log(this.type, this.open, key); | ||
#onKeydown = ({ key }: KeyboardEvent): void => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should consider changing the name to #handleKeydown
* Handles the `transitionend` event when the side drawer finishes opening/closing. | ||
*/ | ||
onTransitionEnd(): void { | ||
#onTransitionEnd = (): void => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should consider changing the name to #handleTransitionEnd
Clickable non-interactive elements must have at least 1 keyboard event listener lit-a11y/click-events-have-key-events
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Follow the commit path :)