Color Picker: Edit state persists when closing with external click

Aberta
#1,811 5 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
62/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
csharp
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C#
Estrelas
4.2k
Forks
907
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de xceedsoftware/wpftoolkit

Todas as issues de xceedsoftware/wpftoolkit

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.