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

PromptInputActionAddScreenshot uses a Radix-only event and fails with Base UI

オープン 初心者向け
#498 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

PromptInputActionAddScreenshot と PromptInputActionAddAttachments の実装から始め、次にそれらが PromptInputActionMenuContent 内でどのようにレンダリングされるかを追跡します。Base UI 統合でアクションメニューを再現し、どちらかのアクションを選択すると期待されるフローが開き、スクリーンショットのキャプチャが画像添付として追加されることを確認します。

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

説明

PromptInputActionAddScreenshot listens for the menu item’s onSelect event. That works in the Radix-based docs demo, but not with Base UI’s menu item API. In our Base UI integration, switching the handler to onClick made screenshot capture work.

Steps to reproduce
  1. Use PromptInputActionAddScreenshot inside PromptInputActionMenuContent in a Base UI project.
  2. Open the action menu and select “Take screenshot.”
Expected behavior

The screen-capture picker opens, and the selected capture is added as an image attachment.

Actual behavior

The screenshot action does not run with the Radix-style onSelect handler.

The same event mismatch affects PromptInputActionAddAttachments.

主要言語
TypeScript
スター
2.5k
フォーク
291
平均マージ
20分
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

vercel/ai-elements のほかの issue

vercel/ai-elements の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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