Conversation
|
LGTM |
rohit2sharma95
left a comment
There was a problem hiding this comment.
Lines 489 to 492 in 5cc53a0
This should not be changed as below? 🤔
if (isActive && event.key === SPACE_KEY) {
Dropdown.clearMenus()
return
}
@rohit2sharma95 Not sure if this is even needed. This checks for keys that are dropdown commands. Lines 458 to 464 in 5cc53a0 But the regex is missing the space key so I'm not sure if we even reach this block. Line 44 in 5cc53a0 |
|
This change was made in #29885 (and then in #30597, that's unrelated though). Anything related to input groups? /CC @MartijnCuppens |
|
And can not the |
I didn't mean to refactor too much in the scope of this issue but rather to just get rid of that Eslint warning. I agree that using a static method isn't ideal but the item selection functionality wasn't bound to the instance before and I made it the way If you want me to change it I should be able to do this tho. |
this reduces the complexity of the dataApiKeydownHandler to get rid of the eslint warning
requested by rohit2sharma95 - twbs#33479 (comment)
c019d3d to
3f658e5
Compare
|
Till now is just a refactoring that I can follow, a minor fix and a valid test that succeeds . So till here I find it OK. I agree to refactor So if we can all agree on these, I would prefer to keep it as it is and if @alpadev has the courage to keep up with a following PR |
requested by rohit2sharma95 - twbs#33479 (comment)
Closes #33465