Welcome Guest Search | Active Topics | Sign In | Register

EO.Wpf.WebControl behavior in small sized browser app Options
Kunal Singh Chauhan
Posted: Wednesday, December 29, 2021 7:11:48 AM
Rank: Newbie
Groups: Member

Joined: 12/29/2021
Posts: 8
Hi Team,

We are using EO.WebBrowser- in one of our WPF-based applications. We are experiencing a rendering issue with it.

We are hosting the EO.Wpf.WebControl (Version = 20.1.88.0), in a WPF application.

Issue: A customer has opened a page in the EO web browser which has a size of (479x688 px). On this page there is a dashboard (screenshot attached). This dashboard doesn’t render correctly, the background image moves upwards while the other data renders below. I have attached the actual dashboard and the incorrectly displayed dashboard with the mail. When the same page is opened in a regular sized web browser, the dashboard renders correctly.

We tried the same thing in the Chrome browser. The behavior there is that the browser window doesn’t allow the user to reduce its width after some point. The dashboard image displays correctly on the chrome browser.

Attached are the screenshots of the issue.

Regular size web browser app:


Small size web browser app:




Request you to please suggest a fix for this.

eo_support
Posted: Wednesday, December 29, 2021 8:46:59 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This most likely has to do with the CSS in the HTML and in that case, you must either fix the issue in the HTML. There is no way that we can make the page work correctly if the CSS in the page is designed to render the page incorrectly in small size.

Alternatively, you can also restrict the size of the WebBrowser control the same way as Chromium web browser. Most modern browser enforce a minimum width on browser window. However we do not have minimum width restriction because we are a component, not an application and the size restriction should be enforced by the application (in this case your application).

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.