Base UI submenu links close without navigating under Redact

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react, typescript, vite
領域
frontend

調査の方向性

Start with the supplied reproduction and compare pnpm dev with pnpm dev:react, using a real pointer click on More → Pages → Example page. Trace how Redact handles the portalled Base UI submenu’s pointerdown outside-press before the link’s click; done means the click navigates to /example in development and production while the menu can still close.

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

説明

Clicking a TanStack Router link inside a portalled Base UI submenu closes the menu without navigating. Hover preloading still works.

Reproduction: https://github.com/fcannizzaro/tanstack-redact-portal-issue

  1. Run pnpm install && pnpm dev.
  2. Open More → Pages.
  3. Hover Example page, then click its text.

Expected: Navigate to /example.

Actual: The menu closes with outside-press on pointerdown, before the link receives click. The URL stays unchanged.

Running pnpm dev:react restores navigation. Reproduced in development and production builds. Real pointer input is required; programmatic element.click() works.

Versions: Redact 0.1.5, Base UI 1.9.0, TanStack Router 1.170.46, React 19.3.1, Vite 8.3.4.

主要言語
TypeScript
スター
581
フォーク
28
平均マージ
13時間 48分
マージ済み PR(30日)
45

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

TanStack/redact のほかの issue

TanStack/redact の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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