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

Title text for text fields animates/ goes up every time page under tab is visited. #738

Closed
ketakidevendra opened this issue Aug 13, 2024 · 3 comments · Fixed by #755
Closed
Labels
bug-verified A bug that can be reproduced input-field-group

Comments

@ketakidevendra
Copy link

ketakidevendra commented Aug 13, 2024

If I have 2 Tabs, Tab1 is having Textfield with some value filled in it. So title is already at the top of text field.
When I click on Tab1 and then on Tab2 and revisit Tab1, Title animates and goes up every time leaving all UI distorted.

I am using a custom control which internally uses text field which has a command to navigate to other page and comes back to page.

image
After clicking on Tab 2 and comong back to Tab1
image

Findings from @enisn regarding this issue as mentioned in this issue.
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
Author

Any update on this @enisn. This is affecting my app.

@StepKie
Copy link
Sponsor Contributor

StepKie commented Sep 12, 2024

Any update on this @enisn ?

@enisn
Copy link
Owner

enisn commented Sep 12, 2024

Any update on this @enisn ?

I made an enhancement for a better transition between switching tabs with #755

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

Successfully merging a pull request may close this issue.

3 participants