Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Pass down focus prop in Toolbar component #1007
Conversation
|
I'm not sure why the linter didn't catch this. |
iseulde
requested a review
from youknowriad
Jun 2, 2017
Was just about to ask the same thing |
|
Yeah, no idea, good thing we are starting to add tests in. |
|
Guessing it was considering it as the https://developer.mozilla.org/en-US/docs/Web/API/Window/focus |
That sounds like the culprit. |
|
Huh, didn't even know that existed. |
|
I'm all for removing the |
iseulde
merged commit db7431d
into
master
Jun 2, 2017
iseulde
deleted the
fix/toolbar-focus branch
Jun 2, 2017
Worth exploring. Are |
|
Actually, I removed the |
|
Might be picking up default from https://github.com/WordPress-Coding-Standards/eslint-config-wordpress/blob/25114c9/index.js#L4 In which case we'd need to explicitly set it to |
|
@aduth Perfect! :) |
iseulde commentedJun 2, 2017
•
edited by BE-Webdesign
Closes #975. Props @BE-Webdesign!