Skip to content
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 paper-icon-button fail #3069

Merged
merged 1 commit into from Apr 8, 2019
Merged

Fix paper-icon-button fail #3069

merged 1 commit into from Apr 8, 2019

Conversation

balloob
Copy link
Member

@balloob balloob commented Apr 8, 2019

So I don't fully understand why it doesn't work, I just know that this will make it work 🤔

<paper-icon-button> uses iron-a11y-keys-behavior (we currently use 3.0.1) to support keyboard shortcuts. Something has happened with <paper-icon-button>, which prevents the iron-a11y-keys-behavior registered callback from being called. When the paper-icon-button is attached to the DOM and the key event listeners are attached, it misses the variable _keyBindings which is being initialized in the registered callback.

I tried rolling back versions of dependencies but was unable to get it working again. I think that this has been caused by the migration to Lit, but we haven't experienced it yet in the main frontend.

So to unblock things, just adding a placeholder variable 🤷‍♂️

@ghost ghost assigned balloob Apr 8, 2019
@ghost ghost added the in progress label Apr 8, 2019
@balloob balloob merged commit 8df9ac9 into dev Apr 8, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-paper-icon-button-crap branch April 8, 2019 06:51
@ghost ghost removed the in progress label Apr 8, 2019
@balloob balloob mentioned this pull request Apr 10, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants