aforemny / aforemny/material-components-web-elm

Pressing the Enter key in a dialog may generate two messages

Đang mở
#163 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Elm
Star
93
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Assume a `Dialog` with a `Button` that is marked as `Dialog.defaultAction`,
and a focus that is on another or the same `Button` in the dialog (either via `Dialog.initialFocus` or after tabbing to this button).

Then on pressing the Enter key the dialog generates two consecutive Msgs, one for the default button, and one for the focused button.

Not sure, which message I would expect, but pretty sure that I would expect only one message.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.