Skip to content

Conversation

@zvn2060
Copy link

@zvn2060 zvn2060 commented Jan 8, 2026

πŸ”— Linked issue

Resolves #3237

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

  • Fixed an issue where errors thrown inside the Button click handler cannot be caught by Vue’s onErrorCaptured hook.
  • Ensured the handler now re-throws within Vue’s async boundary so global error capturing and fallback UI continue to work as expected.
  • Added testcase to prevent future silent failures.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 8, 2026

npm i https://pkg.pr.new/@nuxt/ui@5834

commit: e3153c9

@zvn2060 zvn2060 changed the title fix(button): error occurss with in Button click handler cannot be caught fix(button): error occurs with in Button click handler cannot be caught Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UButton] is not working with NuxtErrorBoundary

1 participant