question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAUI Blazor `html, body, #app { height: 100%; }` works properly on Windows but doesn't work properly on macOS

See original GitHub issue

Description

MAUI Blazor html, body, #app { height: 100%; } works properly on Windows but doesn’t work properly on macOS

There is no scrollbar on Windows:

MauiWindows

But there is a scrollbar on macOS:

MauiMac

Steps to Reproduce

  1. Create new Maui Blazor project
  2. Add html, body, #app { height: 100%; } to app.css
  3. Run on Windows - there is no scrollbar - as expected
  4. Run on macOS - there is a scrollbar - not as expected - bug

Link to public reproduction project repository

https://github.com/Jinjinov/MauiBug

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

macOS Ventura 13.0.1

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mkArtakMSFTcommented, Nov 22, 2022

@guardrex can you please add a note in the documentation that each platform you run your app on will use the default browser for that platform and the differences between these browsers need to be accounted for.

0reactions
jinxinjuancommented, Jul 17, 2023

Verified this issue with Visual Studio for Mac 17.6 (build 1575). Can repro on macOS with sample project. https://github.com/Jinjinov/MauiBug

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML element height not at 100% using Blazor Server
I'm using Blazor Server .NET 6.0 with Syncfusion, and I have a problem with my HTML/CSS. As you can see here, for some...
Read more >
Microsoft doesn't care about publishing MAUI macOS apps ...
I built an open source MAUI Blazor app and I made it work on Web browser, Windows, Linux, Android, iOS and macOS: ...
Read more >
Blazor Hybrid Web Apps with .NET MAUI
MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. MAUI uses a single shared code-base to...
Read more >
Telerik Blazor UI in Native Apps
Telerik UI for Blazor delivers 100+ UI controls that are customizable and highly ... NET MAUI app, but with Blazor painting all the...
Read more >
Troubleshoot known issues - .NET MAUI
Learn about .NET MAUI known issues and troubleshooting you can do to resolve these issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found