dequelabs / dequelabs/cauldron

BottomSheet returns an error after closing

Open
#1,747 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.