react-component / react-component/trigger
PopupInner 的状态有概率卡在 align
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 391
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
「 status 为什么卡在 align, 没完成 measure -> align -> motion -> stable 流转」 的原因没有找到;
mergedStyle 的 opacity 判断似乎有误。
var mergedStyle = _objectSpread(_objectSpread(_objectSpread({}, stretchStyle), {}, {
zIndex: zIndex
}, style), {}, {
opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,
pointerEvents: status === 'stable' ? undefined : 'none'
});
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.
Research direction
Start at PopupInner and trace the status flow from measure through align and motion to stable. Inspect the mergedStyle opacity and pointerEvents conditions, then determine the stalled transition and add coverage showing that PopupInner reaches stable with the expected visibility behavior.
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
- 35/100