Repository navigation
fix(mosaic): use focusable disabled behavior for pending submit buttons - #10220
austincalvelage wants to merge 3 commits into
Conversation
🦋 Changeset detectedLatest commit: 19a0584 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
alexcarpenter
left a comment
There was a problem hiding this comment.
hmm, do we want to have the disabled styles for pending? or keep them separate?
Fair question. Looking at shadcn it looks like they disable: https://ui.shadcn.com/docs/components/base/button#spinner I'm fine with either way FWIW |
Yea I'm kinda open to either |
Description
Replaces SubmitButton’s temporary pending click guard with Button’s existing disabled and focusableWhenDisabled behavior, resolving the TODO.
Pending buttons now use disabled styling and block activation while retaining focus. Spinner timing and explicit or inherited disabled settings are preserved.
Before:
CleanShot.2026-10-13.at.17.47.51.mp4
After:
CleanShot.2026-10-13.at.17.47.02.mp4
Type of change