acl-services / acl-services/paprika

OverflowMenu - multiple items with confirmation popup

オープン
#1,321 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Medium Priority →
主要言語
JavaScript
スター
54
フォーク
10
平均マージ
1日 12時間
マージ済み PR(30日)
6

説明

# Bug Report

## Expected behavior
Within the same `OverflowMenu` each `OverflowMenu.Item` which is defined with `renderConfirmation` popup opens its own confirmation popup on click.

## Current behavior
When there are multiple `OverflowMenu.Item` defined with `renderConfirmation` a click on any of the items opens the latest defined confirmation popup, instead of its own.

This behavior can be seen here: https://paprika.highbond.com/?path=/story/buttons-overflowmenu-examples--modals -clicking on `Delete filter 1` opens the confirmation popup of `Delete filter 2`.

https://github.com/user-attachments/assets/ff75ea37-eaef-46bc-b676-6306fdd21dc4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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