reactjs / reactjs/react-tabs

No content after refresh

Open
#475 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When Im on different tab than first, when I refresh the page, there is weird error where no content on any tab is visible, and first tab is underlined as active.
image

As you can see in the picture there is content in console in third tab, but the panel is not active.
Can you give me inside on this?

I can share the code.

For url params i use use-query-params

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

The report provides no repository files, tests, or reproduction code. Reproduce a refresh while a non-first tab is selected with use-query-params, then inspect how the URL parameters and active tab state are restored; done means the selected tab remains active and its content is visible after refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.