MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Richtextbox control does not respond to touchscreen controls for scrolling and only highlights text instead
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C#
- Star
- 16.3k
- Fork
- 3.5k
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
### 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hành vi của màn hình cảm ứng với MaterialDesign Richtextbox style trên Surface Pro hoặc một thiết lập WPF tương đương. Kiểm tra MaterialDesign.Textbox.xaml và control template để xác định liệu ScrollViewer đã cấu hình và các thuộc tính stylus có được truyền tới Richtextbox hay không. Được xem là hoàn tất khi thao tác cuộn dọc bằng cảm ứng hoạt động mà không chọn văn bản, và kết quả đã được xác minh trên phiên bản được báo cáo hoặc một build hiện tại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100