react-component / react-component/picker

关于增加 placement 参数的讨论

Open
#651 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
304
Forks
345
Avg merge
2d 7h
Merged PRs (30d)
7

Description

antd issue: https://github.com/ant-design/ant-design/issues/34501
初步想法如下:

  1. picker 支持传入 placement 字段;
  2. 根据 placement 计算 arrow 位置。
    看看是否可行,或者有没有更好的建议?

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 reading the linked Ant Design issue and the picker API and placement behavior. The proposal is complete when picker accepts a placement value and the arrow position is calculated accordingly, or the issue records a better agreed approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.