fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.48k stars 730 forks source link

Modal size issue on mobile or half screen #388

Closed asilmertkan closed 2 years ago

asilmertkan commented 2 years ago

If Modal size biggest screen do not see action buttons and do not scroll on modal (on mobile or half screen)

Steps to reproduce the behavior:

  1. Open on mobile or Crome developer tools as a mobile
  2. Go to 'Product page'
  3. Click on 'Edit Product'
  4. Modal Biggest than Main screen, so you dont see Cancel or Update button

Expected behavior If Modal biggest than screen modal must be with scroll

anasseb commented 2 years ago

Hello, I solved this by adding this style in the MudDialog <MudDialog Style="height: auto; max-height: calc(100% - 20px); overflow-y: scroll">

asilmertkan commented 2 years ago

Thank you, this solved my problem.