Skip to content

Conversation

vladitasev
Copy link
Contributor

No description provided.

@vladitasev vladitasev requested review from pskelin and ilhan007 August 9, 2019 07:19
ilhan007
ilhan007 previously approved these changes Aug 9, 2019

this._focusElementsHandlers = {
forwardToFirst: event => {
const firstFocusable = FocusHelper.findFirstFocusableElement(that);
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't it be better if this method does not return it at all? if it does not have a .focus method it is not focusable and other users of this method won't have to check the existence of the focus method.

pskelin
pskelin previously approved these changes Aug 9, 2019
@vladitasev vladitasev merged commit 52517c4 into master Aug 9, 2019
@vladitasev vladitasev deleted the fix-ie-focus branch August 9, 2019 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants