mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-24 14:23:59 -05:00
[PR #23310] [CLOSED] fix: prevent model selector from closing immediately on Android first tap #82016
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/23310
Author: @ShirasawaSama
Created: 4/1/2026
Status: ❌ Closed
Base:
dev← Head:patch-59📝 Commits (1)
f35e53efix: prevent model selector from closing immediately on Android first tap📊 Changes
1 file changed (+16 additions, -3 deletions)
View changed files
📝
src/lib/components/chat/ModelSelector/Selector.svelte(+16 -3)📄 Description
… tap
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
On Android, the model selector was hitting a first-interaction event race instead of a rendering issue.
When the user tapped the selector for the first time:
open = true).open = falsealmost immediately.This produced the visible behavior: menu flashes open and instantly disappears on first tap.
After one prior interaction elsewhere on the page, browser focus/interaction state becomes stabilized, so subsequent taps usually do not trigger the same timing race.
Added
Changed
Deprecated
Removed
Fixed
Add a small mobile guard window after opening:
This keeps normal close behavior intact while preventing the abnormal immediate close on Android first interaction.
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.