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

Skip to content

Popover: Initial Show When Open="true" #11277

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

Merged
merged 3 commits into from
May 2, 2025

Conversation

versile2
Copy link
Contributor

@versile2 versile2 commented May 2, 2025

Description

Resolves #11259
Popovers that start open weren't receiving a reflow due to the isOpened flag only being set on mutation "mud-popover-open". Now it properly checks on connect if a popover should be open. Most popovers force a reflow due to changes as it's rendered but some don't is why it was not a widespread problem.

How Has This Been Tested?

Visually in WASM and BSS.

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 Something does not work as intended/expected PR: needs review labels May 2, 2025
@versile2 versile2 requested a review from ScarletKuro May 2, 2025 19:07
Copy link

sonarqubecloud bot commented May 2, 2025

@ScarletKuro ScarletKuro changed the title Popover Initial Show When Open="true" Popover: Initial Show When Open="true" May 2, 2025
@ScarletKuro ScarletKuro merged commit bbb7333 into MudBlazor:dev May 2, 2025
5 checks passed
@ScarletKuro ScarletKuro deleted the fix/popovershowlogic branch May 2, 2025 19:10
Copy link

codecov bot commented May 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.13%. Comparing base (7717604) to head (07bb7fd).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #11277      +/-   ##
==========================================
+ Coverage   91.09%   91.13%   +0.03%     
==========================================
  Files         439      439              
  Lines       14235    14238       +3     
  Branches     2759     2759              
==========================================
+ Hits        12968    12976       +8     
+ Misses        638      635       -3     
+ Partials      629      627       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In the MudDataGrid I can no longer open a menu in the ToolBarContent
2 participants