reactjs / reactjs/react-tabs

how to add animation slide-up and slide-down on TabPanel when changing tabs?

Open
#319 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I want something like this but automatically slide when changing tabs

I already add custom css, but it seems not like I wanted
here's my css

.react-tabs__tab-panel--selected { animation: slideeffect 500ms ease-out; opacity: 1; }

@keyframes slideeffect { 0% { opacity: 0; transform: translateY(100%); } 100% { opacity: 1; transform: translateY(0); } }

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 issue provides a jQueryScript example and custom CSS for .react-tabs__tab-panel--selected with @keyframes slideeffect; start by reproducing a tab change in react-tabs and comparing the desired slide-up/slide-down behavior. No repository file or test is named, so a concrete implementation location and definition of done need maintainer clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
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.