-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebView2 have a border #135
Comments
Thank you for raising this, I will investigate what might be the cause of the border and provide and update if there is a way to resolve this issue. |
@X-Yunner Please could you try V2.0.2 and see if the issue still exists, if it doesn't fix the issue, would it be possible to put a minimal demonstration of the issue to assist me to see where the issue is coming from. |
Thank you for handling the problem so quickly. I created a demo library in my github repository, which can reproduce this problem. |
@X-Yunner I created a PR in your repository, hopefully we can find what is happening in your app. |
Yes, I have seen Pr, it seems that the different versions of the computer system caused by the border problem |
Which OS are you using? |
Looking forward to a solution. version: Windows 10 Home Chinese Edition |
@X-Yunner please update to V2.0.3 of CrissCross, I believe I found the issue you were experiencing with Windows 10, I have made the functionality equal for Windows 10 or 11. You may wish to consider using a MVVM approach and have a single Wpf Window per physical monitor as a Navigation Host window for displaying a multitude of UserControls (Views) controlled with navigation. |
@X-Yunner I will try to see where that comes from, it looks like a scroll viewer which I do not add, but if I can locate the source and control it, I will let you know how I get on. |
@X-Yunner I believe that the base WebView2 component has been updated to include this scroll component and is there as a part of the Microsoft control which has no exposure to the external API to control it. The border you are seeing is part of the scroll viewer, the UX appears differently between Windows 10 and Windows 11 as you have experienced. Hopefully your client can update to Windows 11 and solve the issue for us :) |
@X-Yunner I will see if I can find the true, that is definitely a strange one. I will focus on this tonight |
I have two Windows: loginwindow and mainwindow. webview2 In the mainwindow, I first display the loginwindow and it will have a border.
After the loginwindow disappears, there will still be a border in the mainwindow. How can I cancel this border?
code
The text was updated successfully, but these errors were encountered: