The animated tabpanes won't work out of the box
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
- 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.
More from react-component/tabs
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
react-component/tabs#865 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
react-component/tabs#809 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
react-component/tabs#1013 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
react-component/tabs#777 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
react-component/tabs#726 ·
All issues in react-component/tabs
Similar issues
-
blocklist removal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100