You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bit annoying error displayed in onDocumentMousedown, when node is null. Here is the fiddle, to reproduce error in console - please select any of react-select options.
Right after any option is picked, dropdown is destroyed, so while (node !== document) obviously can't reach document in the parent chain.
Everything works great, just will greatly appreciate, if null check will be added for node to remove red lines in console.
And thanks again for clean code and such a cool autosuggest component!
The text was updated successfully, but these errors were encountered:
@moroshko Hi, I had the same issue and I'm glad you fixed it but I was wondering why is the plugging being registered on the DocumentMouseDown event instead of individually on each suggestions?
First of all - thanks for the great module!
There is a bit annoying error displayed in
onDocumentMousedown
, when node is null.Here is the fiddle, to reproduce error in console - please select any of react-select options.
Right after any option is picked, dropdown is destroyed, so
while (node !== document)
obviously can't reach document in the parent chain.Everything works great, just will greatly appreciate, if
null
check will be added for node to remove red lines in console.And thanks again for clean code and such a cool autosuggest component!
The text was updated successfully, but these errors were encountered: