Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

versile2
Copy link
Contributor

Description

Allow Drawer/Dialog separation and introduce class mud-skip-overlay-section
Fix overlay positioning logic to only position overlays inside mud-popover-provider (nested overlays where someone is using an autocomplete/select/datepicker/etc inside a dialog/drawer/other popover)
Resolves #10587
Resolves #10658

How Has This Been Tested?

Visually, Unit tests adjusted to use correct container for overlays

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (fix or improvement to the website or code docs)

Checklist

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels Jan 20, 2025
Copy link

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.79%. Comparing base (d9f27e2) to head (f5c05f3).
Report is 18 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #10666   +/-   ##
=======================================
  Coverage   91.79%   91.79%           
=======================================
  Files         426      426           
  Lines       13374    13388   +14     
  Branches     2575     2576    +1     
=======================================
+ Hits        12276    12290   +14     
  Misses        527      527           
  Partials      571      571           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ScarletKuro
Copy link
Member

I guess this partially reverts #10467? as the explicit:

var providerComp = Context.RenderComponent<MudPopoverProvider>();

is not needed anymore again

@versile2
Copy link
Contributor Author

I guess this partially reverts #10467? as the explicit:

var providerComp = Context.RenderComponent<MudPopoverProvider>();

is not needed anymore again

well the mudPopover.js didn't exclude it so it finishes that fix. and correct Drawer and Dialog will use the skip class and have their own overlay outside of the popover-provider. Also it will now properly accept Absolute and not try and reposition the overlay.

@danielchalmers danielchalmers changed the title Bug - Overlay Separation MudOverlay: Introduce mud-skip-overlay-section Jan 21, 2025
@danielchalmers danielchalmers merged commit 502b074 into MudBlazor:dev Jan 21, 2025
6 checks passed
@danielchalmers
Copy link
Member

danielchalmers commented Jan 21, 2025

Changed the title but didn't update commit message, oops

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior or functionality not working as intended
Projects
None yet
3 participants