[Checkbox] You can click through an overlay to check a checkbox
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Paper component (elevation=1) accepts clicks from UI elements underneath. I have the following code:
<Popper>
<Paper>
<ClickAwayListener>
// some stuff here
</ClickAwayListener>
</Paper>
</Popper>
Any elements (buttons, checkboxes, etc) that sit below the popper / paper component above, accept click events. The component should block any click events from flowing to components underneath it.
| Tech | Version |
|---|---|
| Material-UI | v4.9.9 |
| React | v16.8.0 |
| Browser | Chrome |
| TypeScript | |
| etc. |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with the Popper, Paper, and ClickAwayListener structure described in the issue using Material-UI v4.9.9, React 16.8.0, and Chrome. Trace how clicks on elements beneath the overlay are handled; done means buttons and checkboxes underneath no longer receive clicks through the Paper overlay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100