Users reported that the API key edit drawer's "Save changes" button becomes unresponsive after the drawer has been open / idle for a while: no loading state, no request, no error. Reopening the drawer restores it because a fresh DOM is created. The button lived in `SheetFooter` (a portaled Base UI Sheet) and was linked to the form via the HTML `form='api-key-form'` attribute. Once the portal/DOM relationship goes stale, the click no longer triggers the form's submit event, hence the silent failure. Defensive fix: drop the cross-DOM `form` linkage and call `form.handleSubmit(onSubmit)` directly via `onClick`. The native submit path (Enter key, original `<form onSubmit>`) is preserved. Closes #4858
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| assets | Loading commit data... | |
| components | Loading commit data... | |
| config | Loading commit data... | |
| context | Loading commit data... | |
| features | Loading commit data... | |
| hooks | Loading commit data... | |
| i18n | Loading commit data... | |
| lib | Loading commit data... | |
| routes | Loading commit data... | |
| stores | Loading commit data... | |
| styles | Loading commit data... | |
| env.d.ts | Loading commit data... | |
| main.tsx | Loading commit data... | |
| routeTree.gen.ts | Loading commit data... | |
| tanstack-table.d.ts | Loading commit data... |