-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(side-drawer): refactor side drawer (#1022)
* Refactor to place constants closer to context * Refactor events tests to reflect their true actions * Test the show an hide methods * Change close to hide * Prettier * Remove console.log * Remove comments from non API functions * Delete openChanged method * Make event handlers private * Effectively remove the listener * Test keypress * Prettier * Remove the observer and the empty constructor * Added missing "addElement" * Refactor tests a bit * Oopsy submitting `only` in tests * Add onKeydown to scrim Clickable non-interactive elements must have at least 1 keyboard event listener lit-a11y/click-events-have-key-events Co-authored-by: rinaok <[email protected]>
- Loading branch information
1 parent
65cfe63
commit 2788c2b
Showing
2 changed files
with
182 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.