dequelabs / dequelabs/cauldron
BottomSheet returns an error after closing
Open
- Dominant language
- TypeScript
- Stars
- 127
- Forks
- 31
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 8
Description
To recreate:
- Go to https://cauldron.dequelabs.com/components/BottomSheet
- Toggle the `BottomSheet` component
- Click on the "x" button in the top right
- See the error in the console `index.js:829 Uncaught TypeError: d.current.contains is not a function`
Running the docs locally, you will see this error:
`index.js:827 Uncaught TypeError: childElementRef.current.contains is not a function` which occurs within the `ClickOutsideListener` function
Contributor guide
Assessment
This issue has not been assessed yet.