dotnet/winforms

Double-clicking the text in the custom webbrowser component that put into SplitContainer cannot be selected

Open

#2,910 建立於 2020年2月26日

在 GitHub 查看
 (0 留言) (2 反應) (0 負責人)C# (922 fork)batch import
:beetle: bughelp wanted

倉庫指標

Star
 (4,100 star)
PR 合併指標
 (平均合併 14天 22小時) (30 天內合併 56 個 PR)

描述

  • .NET Core Version: .Net Core 3.1.200-preview-015002 from 3.1 Release branch + VS2019 with latest core designer

  • Have you experienced this same bug with .NET Framework?: Yes

More Info:

  1. This issue cannot reproduce without SplitContainer.
  2. This issue cannot reproduce on WebBrowser from Winforms control that put into SplitContainer.
  3. This issue cannot reproduce on custom webbrowser component that put into other containers(Panel, TabControl, GroupBox..).

Steps to reproduce:

  1. Open the attached app “Custom_component_WebBrowser_issue.zip” in VS. Custom_component_WebBrowser_issue.zip

  2. Build and run this application.

  3. Double-clicking the text in the custom webbrowser component and observe the behavior.

Actual behavior: Double-clicking the text in the custom webbrowser component that put into SplitContainer cannot be selected.

Expected behavior: Double-clicking the text in the custom webbrowser component that put into SplitContainer should be selected. The behavior should be like below: custom_webbrowser_issue_expected

貢獻者指南