The rc-trigger cannot correctly calculate the offset value when the screen resolution is enlarged to 150%
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
在显示缩放设置为 150% 时,使用与浏览器右边缘对齐的 rc-trigger 重现该问题。首先跟踪点击 trigger 时使用的偏移量计算,并比较其在正常缩放和放大缩放下的行为。当弹出窗口保持在屏幕内,而不是打开到右边缘之外时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
For example, there is a component wrapped in an rc-trigger located on the right edge of the browser, and the trigger point is located on the right edge. Clicking on the trigger point will display the content of the rc-trigger to the right of the trigger point. At this point, the screen will be enlarged to 150%, and the trigger point will still be on the right edge. Clicking on the trigger point will cause the content of the rc-trigger to pop up outside the screen (outside the right screen) instead of on the left.
After analysis, it was concluded that the rc-trigger did not calculate the magnification or reduction factor when calculating the edge width
- 主要语言
- TypeScript
- 星标
- 391
- 派生
- 245
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/trigger 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
react-component/trigger#593 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 58/100
react-component/trigger#623 ·
-
难度 3/5 1-2 天 新手友好度 65/100
react-component/trigger#618 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 42/100
react-component/trigger#555 ·
-
难度 3/5 1-2 天 新手友好度 55/100
react-component/trigger#550 · 1 条评论 ·
查看 react-component/trigger 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
0xMiden/bridge-portal#132 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
area:tools bug good first issue help wanted priority:P2
难度 2/5 1-3 小时 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 条评论 ·