-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only
e.preventDefault
when Dropdown is active (#307)
Update the `Dropdown` component to only call `e.preventDefault` for the up/down arrow keys if the dropdown is active. J=SLAP-2351 TEST=manual Spin up the test-site, load results, and see that the up and down arrow keys scroll the page when the dropdown is closed. When the dropdown is active, up/down arrows work as expected to navigate through dropdown options. Tested both the `SearchBar` and `FilterSearch` dropdowns.
- Loading branch information
Showing
9 changed files
with
38 additions
and
23 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ jobs: | |
build_script: | | ||
npm i -D [email protected] [email protected] | ||
npm run build | ||
node_matrix: '["14.x", "16.x", "18.x"]' | ||
node_matrix: '["14.x", "16.x", "18.x"]' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Create PR from main to develop | ||
|
||
on: | ||
push: | ||
branches: main | ||
|
||
jobs: | ||
call_sync_develop_and_main: | ||
uses: yext/slapshot-reusable-workflows/.github/workflows/sync_develop_and_main.yml@v1 | ||
secrets: | ||
caller_github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Update package version for release & hotfix branches | ||
|
||
on: | ||
push: | ||
branches: [release/*, hotfix/*] | ||
|
||
jobs: | ||
call_version_update: | ||
uses: yext/slapshot-reusable-workflows/.github/workflows/version_update.yml@v1 | ||
secrets: | ||
caller_github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ name: WCAG tests | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
branches: [main, develop] | ||
|
||
jobs: | ||
call_wcag_test: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.