MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Richtextbox control does not respond to touchscreen controls for scrolling and only highlights text instead
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 16.3k
- フォーク
- 3.5k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 8
説明
### 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Surface Pro または同等の WPF セットアップで MaterialDesign Richtextbox style を使用したタッチスクリーンの動作を再現します。MaterialDesign.Textbox.xaml と control template を調査し、設定された ScrollViewer と stylus プロパティが Richtextbox に到達しているかを確認します。テキストを選択せずにタッチによる垂直スクロールが機能し、報告されたバージョンまたは現行のビルドで結果が検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100