MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Richtextbox control does not respond to touchscreen controls for scrolling and only highlights text instead
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
### 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
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 reproduciendo el comportamiento de la pantalla táctil con el MaterialDesign Richtextbox style en un Surface Pro o una configuración WPF equivalente. Inspecciona MaterialDesign.Textbox.xaml y la plantilla de control para determinar si el ScrollViewer configurado y las propiedades de stylus llegan al Richtextbox. Se considera terminado cuando el desplazamiento táctil vertical funciona sin seleccionar texto y el resultado se ha verificado en la versión indicada en el informe o en una compilación actual.
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
- Necesita aclaración
- Aptitud para principiantes
- 25/100