Skip to content

fix : keyboard flash#6711

Open
rovertrack wants to merge 1 commit intocommons-app:mainfrom
rovertrack:keyboard
Open

fix : keyboard flash#6711
rovertrack wants to merge 1 commit intocommons-app:mainfrom
rovertrack:keyboard

Conversation

@rovertrack
Copy link
Contributor

@rovertrack rovertrack commented Mar 6, 2026

solves keyboard flashing on nearby launch which was happening as the search view input field was focused on initial layout of nearby

Fixes #6703

What changes did you make and why?
made the search view not get focused during initial launch of nearby fragment

note : this is just a temporary workaround which forces it to use a custom static underline as the default one flashes due to initial layout focus issues in XML and will be perfectly solves when moved to jetpack compose

@neeldoshii is it too early / wrong just to move small element to compose ?? just asking )

before :

az_recorder_20260304_025710.mp4

After :

VID_20260306215605.mp4

@neeldoshii
Copy link
Collaborator

neeldoshii commented Mar 8, 2026

Hi @rovertrack ,

@neeldoshii is it too early / wrong just to move small element to compose ?? just asking )

No issues in migrating small elements, but make sure to list down the plan whatever you migration and how will you be executing, which module, gradual migration too sounds good. so that there won't be duplication & repetition of the work.

@RitikaPahwa4444
Copy link
Collaborator

Is this PR ready? Since this is a workaround, could you please raise a new issue for the compose migration of this component and add a comment with the link?

@rovertrack
Copy link
Contributor Author

Is this PR ready? Since this is a workaround, could you please raise a new issue for the compose migration of this component and add a comment with the link?

can i just update the pr with the new compose migration of this component ?

@RitikaPahwa4444
Copy link
Collaborator

If it doesn't take much effort and the diff is reasonably small to review, please feel free to migrate. We would not recommend a very big migration in one PR.

@rovertrack rovertrack closed this Mar 17, 2026
@rovertrack rovertrack reopened this Mar 17, 2026
@rovertrack
Copy link
Contributor Author

@RitikaPahwa4444 I'm going to just migrate the search input for now which solved the unnecessary popping of keyboard!

@github-actions
Copy link

✅ Generated APK variants!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: unusual behaviour of input keyboard when switched to nearby

3 participants