<a name="" anchors do not work in other tabs
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 455
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 2
Description
react-tabs: 3.1.0
`
<a href="#tab1>tab1
<a href="#tab2>tab2
actual:
tab1 & tab2 will not work.
If defaultIndex={0} , tab1 will work to scroll to the view of content
expected:
tab2 should support anchor tags
Contributor guide
No contributing guide indexed for this repository
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 provided react-tabs 3.1.0 example with defaultIndex={1}, two Tabs, and named anchors in the TabPanels. Trace the tab and anchor-navigation entry points; done means the tab2 anchor scrolls to its content even when tab 2 is not initially selected.
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
- Clearly specified
- Newbie friendliness
- 45/100