Support 2D Mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start by reading the existing react-split dragging behavior and its onDragging/onDragEnd callback API. Compare the requested 2D interaction with the linked react-colorful, Leva, and imgui examples. Done means react-split supports a 2D mode and passes x and y percentage values through both callbacks, with the expected accessibility behavior established.
Written by the indexing model from the issue text.
Description
It would be great for react-split to support a 2D mode, with onDragging / onDragEnd callback that would be passed a 2D position array with x and y percentage, a bit similar to react-colorful (aria role=grid discussion) or leva vector2d control.
This feature is greatly illustrated in this feature request of imgui, and is like a combination of landscape and portrait modes. It could be useful for example to have:
- the x slider position influence the clip/crop of foreground vs background
- while the y position of the slider could play on transparency, between 0 and 100% opacity.
- Dominant language
- TypeScript
- Stars
- 83
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
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 uiwjs/react-split
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
uiwjs/react-split#153 · 5 comments ·
-
拖动条显示多了 Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
uiwjs/react-split#100 · 6 comments ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
uiwjs/react-split#86 ·
All issues in uiwjs/react-split
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·