Mobile Filter Form In Supabase Dashboard Does Not Submit On Android Chrome
On Android Chrome, the Authentication → Users filter form has no visible submit button, and pressing the keyboard's enter/go key does not trigger the filter. The form does not submit on mobile or desktop versions, but the issue is most severe on mobile where no button exists.
The filter form likely lacks a dedicated submit button and does not properly handle the form's onSubmit event. Mobile browsers often do not fire a submit event when the enter key is pressed unless a submit button or input type="submit" is present, leaving users unable to apply filters.
1. Open Supabase dashboard on Android Chrome. 2. Navigate to Authentication → Users. 3. Tap the filter option for email or user ID. 4. Enter a search query. 5. Press the keyboard's enter/go key or look for a submit button. 6. Observe that nothing happens and the filter is not applied.
Adds an explicit submit button with type="submit" and moves the filter input into a form with an onSubmit handler. This ensures that both tapping the button and pressing the enter key on mobile keyboards will trigger the filter action, as the presence of a submit button makes the form submittable on all browsers.
Edge Case Audit
Adding a button may alter the existing UI layout and could introduce regressions in desktop styling or unintended double submissions if the form is submitted multiple times. If the original implementation relied on auto-submit after typing, this change may change that behaviour. Roll back by removing the button and restoring the previous input-only component, but ensure an alternative submission mechanism (e.g., enter key handler) is implemented to maintain mobile usability.