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

dynamic updating the align prop doesn't update the tooltip alignment

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

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

評価

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

調査の方向性

まず、tooltip の内容が変わり、親が新しい targetOffset または align の値を渡すカレンダーのようなケースを再現します。初回のレンダリング後に制御された tooltip props がどのように更新されるかを追跡します。展開されたイベントがイベントリストを置き換えたときに tooltip の配置が新しい値を反映すれば完了です。

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

説明

im trying to make the tooltip alignment dynamic. but when the component parent passing different targetOffset, it stays with the initial values.
im building a calendar. when clicking any date the tooltip opens next to it with the events list. when event is clicked, the expended event should open instead of the eventsList (inside the tooltip). because the size of the expended event is different from the events list i want to adjust the targetOffset based on the new height. is there anyway to force update on the tooltip component so it will receive the new values for align ?

主要言語
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 を短くまとめたダイジェスト。