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

Skip to content

Conversation

timmac-qmc
Copy link
Contributor

Prevents stall when loading the drawer by no longer awaiting viewport subscription.

Description

Currently the Drawer waits for the viewport subscription to complete which can take several seconds (due to javascript calls).
This seems unnecessary as the callback invokes on the main thread anyway.

How Has This Been Tested?

All tests pass

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

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

Prevents stall when loading the drawer by no longer awaiting viewport subscription
@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels Mar 13, 2025
Copy link

Copy link

codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.05%. Comparing base (7a1d720) to head (aff4f6d).
Report is 126 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #11009      +/-   ##
==========================================
- Coverage   91.05%   91.05%   -0.01%     
==========================================
  Files         429      429              
  Lines       13956    13956              
  Branches     2698     2698              
==========================================
- Hits        12708    12707       -1     
  Misses        646      646              
- Partials      602      603       +1     

☔ 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.

@timmac-qmc
Copy link
Contributor Author

@ScarletKuro Requesting review

@timmac-qmc
Copy link
Contributor Author

@ScarletKuro bumping review request

@ScarletKuro ScarletKuro changed the title Fix stall when loading Drawer MudDrawer: Fix stall when loading Jun 12, 2025
@ScarletKuro ScarletKuro merged commit 5df9ab1 into MudBlazor:dev Jun 12, 2025
6 checks passed
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
Development

Successfully merging this pull request may close these issues.

2 participants