Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input field titles become misaligned when changing Android device's global font size when app is open. #716

Open
codychaplin opened this issue Jul 17, 2024 · 3 comments
Assignees
Labels
bug-verified A bug that can be reproduced input-field-group
Milestone

Comments

@codychaplin
Copy link

On Android, if you have an app open that uses InputFields and you change the font size in Settings > Display > Display size and text, then navigate back to the app, the titles do not adjust properly. This only happens when the field has a value and the title has already moved to the top. Fully closing and re-opening the app fixes it, it just happen while the app is running.

Before:
Screenshot_1721223425

After:
Screenshot_1721223467

@enisn enisn added bug-report Potential bug that should be verified input-field-group labels Jul 25, 2024
@ketakidevendra
Copy link

@enisn - Same is observed when there are 2 tabs on page. If Tab1 is open and I click on Tab2 and go back to Tab1. All text fields labels are going up.

@enisn enisn added this to the v2.9 milestone Aug 12, 2024
@enisn enisn added bug-verified A bug that can be reproduced and removed bug-report Potential bug that should be verified labels Aug 12, 2024
@enisn
Copy link
Owner

enisn commented Aug 12, 2024

@enisn - Same is observed when there are 2 tabs on page. If Tab1 is open and I click on Tab2 and go back to Tab1. All text fields labels are going up.

Do you mean this going up animation?
textfield-animation

It happens because of technical limitations. It releases events when removed from layout and re-registers when it's visible again. Since the locations are set by an animation, they're re-animated when become visible. You can create another issue for this problem. Maybe I can handle page rendering and set label position without animating

@ketakidevendra
Copy link

ketakidevendra commented Aug 13, 2024

@enisn - Yes exactly. I have created a new issue - #738
Thank you very much for quick reply.

@enisn enisn self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-verified A bug that can be reproduced input-field-group
Projects
None yet
Development

No branches or pull requests

3 participants