MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Richtextbox control does not respond to touchscreen controls for scrolling and only highlights text instead
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 16.3k
- Fork
- 3.5k
- Merge medio
- 1g 22h
- PR unite (30g)
- 8
Descrizione
### Bug explanation
I built a modern log interface for legacy chat software and use MaterialDesign to theme everything. I'm using the MaterialDesign Richtextbox style and when I try and enable the following:
```
ScrollViewer.CanContentScroll="True"
ScrollViewer.PanningMode="VerticalFirst"
Stylus.IsPressAndHoldEnabled="False"
Stylus.IsFlicksEnabled="False"
```
It still only highlights the text in the Richtextbox control when using touchscreen controls. Does this mean that I need to override the control template or is there something that I'm missing for this?
I've considered making changes to the MaterialDesign.Textbox.xaml prior to compile and adding the `CanContentScroll=True` there but not sure if that's going to fix it or not.
Does anyone have any suggestions for this? I have a Surface Pro that I'm testing on and I've had reports of it not working for others as well.
Please let me know if you need any further details or code, I'm happy to share.
Thanks!
### Version
5.1.0.0
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 riproducendo il comportamento del touchscreen con il MaterialDesign Richtextbox style su un Surface Pro o una configurazione WPF equivalente. Ispeziona MaterialDesign.Textbox.xaml e il control template per determinare se lo ScrollViewer configurato e le proprietà dello stylus raggiungono il Richtextbox. Il lavoro è completato quando lo scorrimento verticale tramite touch funziona senza selezionare il testo e il risultato è stato verificato sulla versione segnalata o su una build corrente.
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
- Da chiarire
- Idoneità per principianti
- 25/100