[Bug]: Clicking "Show details" is unresponsive, but instead clicking anywhere else toggles the accordion
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Summary
When I click "Show details" button of 2 "Deep Dive" accordions, nothing happens, but instead, clicking anywhere else, will toggle the accordion.
Page
https://react.dev/reference/react/useMemo#usage
Details
Deep Dive
How to tell if a calculation is expensive?
Deep Dive
Should you add useMemo everywhere?
Ubuntu, Chrome 135.0
The bug is not present on Firefox.
I have tried refreshing the page but the issue persists.
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 at the React useMemo reference page linked in the issue and reproduce the two Deep Dive accordion interactions in Chrome on Ubuntu, then compare with Firefox where the bug does not occur. Investigate the page's Show details behavior and verify that the button responds directly while clicking elsewhere does not unexpectedly toggle the accordion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100