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

Tabs should allow user to pass `getPopupContainer` to the "moreTabs" Dropdown

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

まず Tabs コンポーネントの props と、overflow-tabs dropdown のエントリポイントを読んでください。dropdown がどのようにレンダリングされ、その popup options がどのように渡されるかを追ってください。Tabs レベルの getPopupContainer オプションによって overflow dropdown の overlay を制御でき、既存の動作が変わらなければ完了です。

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

説明

rc-tabs renders the overflowing tabs in a dropdown's overlay. The overlay is always rendered at the <body> level and we cannot change that at the moment.

This make it impossible to scope the styling of the overlay, in particular with ant-design.

Adding a prop to <Tabs /> that allows to feed a different getPopupContainer prop to the dropdown displaying the overflowing tabs would solve this issue.

主要言語
TypeScript
スター
572
フォーク
241
平均マージ
8時間 7分
マージ済み PR(30日)
3

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

react-component/tabs のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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