-
Notifications
You must be signed in to change notification settings - Fork 70
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: fix arrow navigation #121
Conversation
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.
I assume the tests didn't catch this because they're not using the compiled library. Is that correct?
@jayeb I don't believe there are any tests for this behavior - shall I add some? |
Yes please! |
…into fred/fix-arrow-nav * 'fred/fix-arrow-nav' of https://github.com/imgix/luminous: chore(deps): update dependency karma-jasmine to v2.0.1 (#120) chore(deps): update dependency karma-jasmine to v2 (#119) chore(deps): update babel monorepo to v7.1.6 (#118) chore(deps): update dependency eslint-config-prettier to v3.3.0 (#117) chore(deps): update dependency eslint-config-prettier to v3.2.0 (#116) chore(deps): update dependency prettier to v1.15.2 (#115) chore(deps): update dependency eslint to v5.9.0 (#114)
@jayeb Can you give this another review? I've added some tests for LuminousGallery |
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.
Tests look good to me, although Travis disagrees. Seems like the "navigate left" test is failing, but I can't immediately figure out why.
There's something strange going on with Closure - I'll have to have a look tomorrow. |
Description
This PR fixes a regression in a previous release of this library, where arrow navigation was broken.
The problem was that when the Closure compiler was integrated into this library, the way the settings were passed around the objects was broken as Closure rewrites object key names. This fixes that.
Fixes #74
Bug Fix
fix(<area>): fixed bug #issue-number
Steps to Test
Check that tests still pass.
To test locally:
npm install && npm run build
index.html
in a browser