-
Notifications
You must be signed in to change notification settings - Fork 717
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
A page is consuming more width than what the parent window gives the space. #5125
Comments
uwp.mp4wasm.mp4 |
Special mention and kudos for the IMPRESSIVE quality of your bug report. We'll have the team look at it asap and keep you posted. Thank you for taking the time to properly file this, it's beyond appreciated. 12/10! |
This looks like the result of an exception during the layouting. On wasm, a lot of exceptions are not catched because of a performance issue. Please press F12 and check the console for error messages. |
@carldebilly Here is a dump from my console while running in Debug and navigating through pages. I took a look at it and honestly I didn't see anything problematic. |
@Mohsens22 I noticed the results page is wrapped in a |
Also note that |
From my debugging, it seems that |
@MartinZikmund How can we fix it? |
@jeromelaban I am not using any Pivot, I use a tab view from the Community Toolkit. |
I fixed the issue by setting |
Current behavior
I have a page in my uno project. In UWP everything is just fine and every page is working as expected. But in one of my pages where I show some information to the user, the page gets an extremely high width (tested in WASM) and it gets out of the window border. In order to see the page fully, I need to zoom out via the browser's zooming tool.
However there is a fun fact here:
I used a visual state manager. This visual state manager acts just fine and responds to window size changes and applies what should be applied, however, the the page still uses more width,
Expected behavior
I expect the page to be stretched to the parent frame and window as it's happening in UWP.
How to reproduce it (as minimally and precisely as possible)
Here is a link to my repo
Firstly run the UWP application in DEBUG mode and from the start page hit the "LoadTestAnswer" button. this button will load some dummy data:
As you can see, the UI is pretty responsive and neat.
However if you do the same to the WASM project you'll notice that something is wrong:
As you can see, although the page reacts to the implemented Visual State Manager, the actual page does not fit itself to the frame which is kinda odd.
Environment
Nuget Package Version(s):
Affected platform(s):
I have not tested this on other platforms, I can not tell if this issue exists on other platforms or not.
IDE:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: