Color Picker: Edit state persists when closing with external click

Đang mở
#1,811 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
frontend

Hướng nghiên cứu

Start by tracing how the Color Picker's Color Editor handles edits and how clicking the picker column's dropdown arrow closes it; compare that path with the ENTER and TAB close behavior described in the issue. Reproduce the edit, click the arrow, and check whether the uncommitted value is discarded and the displayed color refreshes without delay.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

If the user edits a color value in the Color Editor tab and then closes by clicking on the dropdown arrow in the picker column that opened the picker, then the edit state persists instead of the normal close that happens when the user presses ENTER or TAB in the picker and the edited value is not yet passed back. I've worked around this in my own application, but this results in a refresh delay where I'm displaying the values in a picker column with the colors.

Ngôn ngữ chính
C#
Star
4.2k
Fork
907
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của xceedsoftware/wpftoolkit

Tất cả issue của xceedsoftware/wpftoolkit

Issue tương tự

Thêm issue về C#

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.