MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 16.3k
- Fork
- 3.5k
- Merge medio
- 1g 22h
- PR unite (30g)
- 8
Descrizione
When you double click on a cell which has EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" defined, the popup appears but there are a few issues:
- 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).
- If the cell editing popup is open and you change focus to another app, the popup remains on top of the other application.
- (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.

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla pagina Grids della demo WPF e da MaterialDesignDataGridTextColumnPopupEditingStyle utilizzato dalle colonne Name e Description. Riproduci il comportamento del popup con un doppio clic, quindi analizza la gestione della selezione del mouse, del focus dell'applicazione e della posizione iniziale del cursore nell'editor del popup. Il lavoro è completato quando la modifica tramite mouse funziona, il popup non rimane sopra un'altra applicazione e il comportamento del cursore è stato gestito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100