react-component / react-component/tabs
The animated tabpanes won't work out of the box
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 572
- Forks
- 241
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 4
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.
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 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.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100