Skip to content

[number-field] Handle unreadable clipboard paste - #4876

Merged
atomiks merged 3 commits into
mui:masterfrom
lyzno1:codex/number-field-paste-handling
May 22, 2026
Merged

atomiks merged 3 commits into
mui:masterfrom
lyzno1:codex/number-field-paste-handling

Conversation

@lyzno1

@lyzno1 lyzno1 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Handle clipboard read failures during NumberField paste events without throwing, matching the existing OTPField paste behavior.

@pkg-pr-new

pkg-pr-new Bot commented May 21, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@4876
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4876
    

commit: 23e6e95

@code-infra-dashboard

code-infra-dashboard Bot commented May 21, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+11B(0.00%) ▼-18B(-0.01%)

Details of bundle changes

Performance

Total duration: 1,309.44 ms +51.29 ms(+4.1%) | Renders: 50 (+0) | Paint: 2,003.57 ms +102.28 ms(+5.4%)

No significant changes — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented May 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 23e6e95
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a1016e72607ed0008f705c2
😎 Deploy Preview https://deploy-preview-4876--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zannager zannager added the component: number field Changes related to the number field component. label May 21, 2026

@atomiks atomiks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix @lyzno1

@atomiks
atomiks merged commit b77caff into mui:master May 22, 2026
6 checks passed
@lyzno1
lyzno1 deleted the codex/number-field-paste-handling branch May 22, 2026 08:48
mbrookes pushed a commit to mbrookes/base-ui that referenced this pull request May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: number field Changes related to the number field component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants