reactjs / reactjs/react-tabs

Double clicking tab adds child element and blue box-shadow

Open
#391 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.1k
Forks
455
Avg merge
5h 9m
Merged PRs (30d)
2

Description

Similar issue here (but the solution didn't work for me): https://github.com/reactjs/react-tabs/issues/300

To reproduce:

  1. Add tabs
  2. Click tab once to focus, and once again

Video showing the effect: https://www.loom.com/share/39ceae408e0b4ae0aa2709fd589d9f6b

My layout changes and gets expanded to the right because of the shadow effect being added.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a tab focused by one click and activated by a second click, then compare the behavior with issue 300 and the linked video. Done means double-clicking no longer adds a child element or blue box-shadow that expands the layout.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.