MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 16.3k
- Forks
- 3.5k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 8
Descripción
When you double click on a cell which has `EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}"` defined, the popup appears but there are a few issues:
1) You can't move the cursor using the mouse and can't select text with the mouse (although right clicking brings up the context menu correctly).
2) If the cell editing popup is open and you change focus to another app, the popup remains on top of the other application.
3) (Minor/opinion) The cursor's position is at the beginning of the TextBox when the popup editor opens (I think this would typically be at the end?)
To reproduce:
- Open the WPF demo
- Selecting the "Grids" page using the menu
- Double click on a cell in the _Name_ or _Description_ columns to start editing
- Try using the left mouse button to move the cursor or select text inside the popup
- Switch to another application while the cell editor is open
Here's a screenshot of the popup over another window.

Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la página Grids de la demo de WPF y el MaterialDesignDataGridTextColumnPopupEditingStyle utilizado por las columnas Name y Description. Reproduce el comportamiento del popup con un doble clic y, a continuación, rastrea el manejo de la selección del ratón, el foco de la aplicación y la posición inicial del cursor del editor del popup. Se considera terminado cuando la edición con el ratón funciona, el popup no permanece por encima de otra aplicación y se ha resuelto el comportamiento del cursor.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- desktop
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100