Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

IE 11 drop down key up and down events issue #1535 #1652

Conversation

blackbaud-conorwright
Copy link
Contributor

This allows the 'up' and 'down' key events to trigger dropdown actions like the 'arrowup' and 'arrowdown' already do. Fixes issue #1535

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 54f0bde
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/370269303

(Please note that this is a fully automated comment.)

@codecov-io
Copy link

codecov-io commented Apr 23, 2018

Codecov Report

Merging #1652 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1652   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         395      395           
  Lines        8108     8110    +2     
  Branches     1194     1196    +2     
=======================================
+ Hits         8107     8109    +2     
  Misses          1        1
Impacted Files Coverage Δ
src/modules/dropdown/dropdown.component.ts 100% <100%> (ø) ⬆️
src/modules/dropdown/dropdown-menu.component.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 149c412...40903c7. Read the comment docs.

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 7979252
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/370723910

(Please note that this is a fully automated comment.)

@@ -338,6 +356,71 @@ describe('Dropdown component', () => {
verifyFocusedMenuItemByIndex(3);
}));

it('should navigate menu items with internet explorer arrow keys', fakeAsync(() => {

Choose a reason for hiding this comment

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

Since this is a near duplicate of the non-IE unit test, perhaps we could wrap the duplicate code in a verifyArrowKeyNavigation(upKey: string, downKey: string) method and pass in the unique key values. That way, if we can be sure that both sets are being tested the same. e.g:

it('should...', () => {
  verifyArrowKeyNavigation('ArrowUp', 'ArrowDown');
});

it('should...', () => {
  verifyArrowKeyNavigation('Up', 'Down');
});

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 7882962
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/372221877

(Please note that this is a fully automated comment.)

@blackbaud-sky-savage
Copy link
Collaborator

Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 40903c7
Build details: https://travis-ci.org/blackbaud-sky-savage/skyux2/builds/373466285

(Please note that this is a fully automated comment.)

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 349a5d4 into blackbaud:master May 1, 2018
Blackbaud-StacyCarlos added a commit to Blackbaud-StacyCarlos/skyux2 that referenced this pull request May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants