Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Tooltip jumping on sticky component

オープン
#214 コメント 2 件 リアクション 8 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

まず、提供されたTooltipの使用例で、stickyな日付ピッカー内に複数のツールチップを配置したときのジャンプ動作を再現します。リンクされたスクリーンキャストを想定される症状として使用してください。stickyスクロール中に配置と位置決めがどのように動作するかを追跡します。相対ラッパーに依存せず、ツールチップが正しい位置に留まれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We render many tooltips on a date picker, the date picker is on a sticky component. As some points on the page, the tooltip jumps around. Any idea what is happening and how we can fix it? We've tried adding relative wrappers but no luck. I know it is from the sticky component but I am not sure how to get it resolved.

Here is a screencast of the issue: https://share.vidyard.com/watch/1iyQFAAjHbfL7E4AL1aPKM?

Version:

"rc-tooltip": "^4.0.3",

Code (looping over this for each day which j is the week and i is the day):

<Tooltip
  placement="top"
  id={`tooltip-${j}-${i}`}
  mouseLeaveDelay={0}
  overlay={ day.disabled }
>
	<div {...}>
    	<span>{ day.date ? format(day.date, 'd') : '' }</span>
	</div>
</Tooltip>
主要言語
TypeScript
スター
944
フォーク
199
平均マージ
19時間 1分
マージ済み PR(30日)
3

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-component/tooltip のほかの issue

react-component/tooltip の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。