react-component / react-component/tabs

tab默认使用transform进行滑动,但tab内可能出现position定位,导致position失效

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

Nobody has claimed this yet.

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

Description

tabbar默认使用transform进行滑动,但tab内可能出现position定位,导致position失效
能否将isTransformSupported做为属性传入,或者有什么方法不使用transform吗?

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

Start by locating the tab bar implementation that applies the default transform-based sliding and reproduce the issue with a tab containing position-based layout. Investigate how the transform choice could be controlled or avoided, then verify that tab sliding still works without breaking position behavior. Done means the documented behavior or API clearly supports tabs whose contents use position.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.