react-component / react-component/trigger
The rc-trigger cannot correctly calculate the offset value when the screen resolution is enlarged to 150%
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 391
- フォーク
- 245
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
表示倍率を150%に設定した状態で、ブラウザの右端に揃えた rc-trigger で問題を再現します。まず、trigger をクリックしたときに使用されるオフセット計算を追跡し、通常の倍率と拡大した倍率での動作を比較します。ポップアップが右端を越えて開かず、画面内に収まれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100