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
Item click inside the FilterableMultiSelect dropdown is not working in shadow DOM as the downshiftProps is not passed to the downshift useCombobox hook
I apologize for the direct ping @joshblack, but this is now blocking my progress on a thing that I'm supposed to present next Monday, and you seem to be on top of the things here and moving them along… Do you need a new issue created?
While this is about a different component, the core of the issue is the same, namely event handling in shadow DOM.
What is different with this one is that here the issue is clearly in your code, not the 3rd party.
As for the solution, two options come to mind:
allow passing in extra environment prop like Downshift does
use appendTo when it's provided
add an option for a user-provided function that can do additional checking on the event and prevent the closing
The first two options might prove rather more complex than what it seems like on the surface because you do want to close on outside clicks across the shadow DOM boundary… 🤔
There is event.originalTarget, but it's sadly a firefox-only non-standard property.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@carbon/[email protected]
for the project I'm working on.Item click inside the FilterableMultiSelect dropdown is not working in shadow DOM as the downshiftProps is not passed to the downshift useCombobox hook
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: