Tab not marked as selected on initial route
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- nuxt, typescript
調査の方向性
modules playground project で、/ のエイリアス、ion-tab-bar、ion-tab-button を持つタブを使用して初期ルートのケースを再現します。レンダリングされたタブとアクティブなタブの検出を比較し、プログラムによるルートチェックなしで初期タブが選択済みとしてマークされるべき動作を記録します。
索引モデルが issue の本文から書いたものです。
説明
📚 What are you trying to do?
Hi,
according to docs you should set alias to / on the tab you wish to render instead of having index.vue in pages directory. That works fine as the tab gets rendered but the button in <ion-tab-bar> is not marked as selected. This doesn't work even in the modules playground project.
Does anyone know please how to fix that other than checking for route programatically and setting selected to true ?
🔍 What have you tried?
I've tried to change the href on <ion-tab-button> to / but that completely ruined the active tab detection. Furthermore, can some please explain to me how does it even work please ? Like ...when i set alias in define page meta on specific tab how does it know to render the parent component as well ? It's pretty unclear from the docs :(
ℹ️ Additional context
No response
- 主要言語
- TypeScript
- スター
- 457
- フォーク
- 53
- 平均マージ
- 15時間 54分
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nuxt-modules/ionic のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
nuxt-modules/ionic#1004 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
nuxt-modules/ionic#908 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
nuxt-modules/ionic#867 ·
メンテナーはふだん 1 日以内に返信
-
bug needs reproduction
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
nuxt-modules/ionic#696 ·
メンテナーはふだん 1 日以内に返信
-
IonCardオープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
nuxt-modules/ionic#610 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
nuxt-modules/ionic の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensearch-project/security-dashboards-plugin#2545 ·
メンテナーはふだん 1 日以内に返信
-
Add: Dream TR SDオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
SocialGouv/egapro#4672 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area:agents area:tui bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
anthropics/claude-code#98358 ·
メンテナーはふだん 1 日以内に返信