MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Richtextbox control does not respond to touchscreen controls for scrolling and only highlights text instead
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 16.3k
- Forks
- 3.5k
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
### 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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Touchscreen-Verhalten mit dem MaterialDesign Richtextbox style auf einem Surface Pro oder einer gleichwertigen WPF-Konfiguration zu reproduzieren. Untersuche MaterialDesign.Textbox.xaml und das Control Template, um festzustellen, ob der konfigurierte ScrollViewer und die Stylus-Eigenschaften den Richtextbox erreichen. Als erledigt gilt die Aufgabe, wenn das vertikale Scrollen per Touch funktioniert, ohne Text auszuwählen, und das Ergebnis in der gemeldeten Version oder einem aktuellen Build verifiziert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100