Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

The animated tabpanes won't work out of the box

Open
#351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by locating the tab pane implementation and the package's current styling or build entry points; the issue identifies the affected .rc-tabs-content, .rc-tabs-content-animated, and .rc-tabs-tabpane selectors. Confirm animated tab panes work without consumer CSS, and define a packaged stylesheet approach for the tab bar whose styles can be copied and modified.

Written by the indexing model from the issue text.

Description

Hi,

I had to add this CSS to make it work:

.rc-tabs-content {
  display: flex;
  width: 100%;
}

.rc-tabs-content-animated {
  -webkit-transition: margin 0.3s;
  -moz-transition: margin 0.3s;
  -ms-transition: margin 0.3s;
  -o-transition: margin 0.3s;
  transition: margin 0.3s;
}

.rc-tabs-tabpane {
  width: 100%;
  flex: none;
}

I think it would be a good idea to add those style properties to the components by default. Also the whole tab bar is fully not styled at all. I understand why this is the case, but it would be great to package a stylesheet that has any beautiful predefined style that can be copied and modified for those who only need little changes.

Dominant language
TypeScript
Stars
572
Forks
241
Avg merge
4d 18h
Merged PRs (30d)
4

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.

More from react-component/tabs

All issues in react-component/tabs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.