Skip to content

MudPopover: Fix JS Typo#11968

Merged
danielchalmers merged 3 commits intoMudBlazor:devfrom
versile2:fix/mudpopoverTypo
Oct 17, 2025
Merged

MudPopover: Fix JS Typo#11968
danielchalmers merged 3 commits intoMudBlazor:devfrom
versile2:fix/mudpopoverTypo

Conversation

@versile2
Copy link
Contributor

@versile2 versile2 commented Oct 17, 2025

Typo in mudPopover.js file, forgotten semicolon. Added it.
Found a falsy check that should be a null check and swapped it.

Checklist:

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

One character for the typo
Swapped || for ?? on two lines.
Verified other falsy checks shouldn't be invalid.

@mudbot mudbot bot added the bug Unexpected behavior or functionality not working as intended label Oct 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses a minor typo in the mudPopover.js file by adding a missing semicolon. This change improves code consistency and is a good practice to avoid potential issues with JavaScript's Automatic Semicolon Insertion. The change is correct and I approve of it.

… 0 not return falsy and skip to boundingRect.left.
@versile2 versile2 requested review from Anu6is and Copilot October 17, 2025 18:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fix aims to correct a missing semicolon and adjust how explicit position override values are resolved for the popover.

  • Replaced logical OR (||) with nullish coalescing (??) for position override parsing.
  • Added a missing semicolon after offsetY adjustment.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@danielchalmers danielchalmers merged commit 47e4ff3 into MudBlazor:dev Oct 17, 2025
6 checks passed
@ScarletKuro ScarletKuro deleted the fix/mudpopoverTypo branch October 18, 2025 17:24
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.

5 participants