[Feat] positionType设置absolute定位
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/absoluteicon-tc8wkh
Steps to Reproduce
修改CodeSanbox的示例, 加上headerIcon就会发现icon不显示
Current Behavior
添加headerIcon 并设置absolute定位后, icon不显示
Expected Behavior
添加headerIcon 并设置absolute定位后, icon正常显示, 并且可以通过参数控制位置
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
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.
Research direction
Start with the linked CodeSandbox reproduction and verify the behavior when headerIcon uses absolute positioning. Trace the related headerIcon and positionType entry points in the TypeScript source, then ensure the icon renders and its position can be controlled through the parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100