Uno.Gallery
Uno.Gallery copied to clipboard
[iOS][Android][TextBox][PasswordBox] Placeholder text animation speed is too slow, placeholder text overlaps with text entered
Current behavior
Expected behavior
How to reproduce it (as minimally and precisely as possible)
- Launch app
- Navigate to TextBox
- Enter text to a TextBox
- Notice that the placeholder text animation is slow and overlaps with the entered text
NOTE Issue is also present when entering text to a PasswordBox
Environment
iPhone 8 iOS 13.3 Samsung S10e Android 10
Nuget Package:
Package Version(s):
Affected platform(s):
- [x] iOS
- [x] Android
- [ ] WebAssembly
- [ ] WebAssembly renders for Xamarin.Forms
- [ ] Windows
- [ ] Build tasks
Visual Studio:
- [ ] 2017 (version: )
- [x] 2019 (version: )
- [ ] for Mac (version: )
Relevant plugins:
- [ ] Resharper (version: )
Anything else we need to know?
Behavior does not follow the Material Design guidelines also for all platform as while focusing the header should move upward directly and not after starting to type inside the field
@agneszitte-nventive did we alter the behavior mentioned in this issue?
@jeromelaban the translate transform for the placeholder is done directly in the visual states of the textbox style and needs to be reviewed apparently (maybe also the transform is not behaving the same for ios/android in terms of speed). Needs more tests and investigation.
https://github.com/unoplatform/Uno.Themes/blob/58cbfb1eedb446c7cefd88e7a2f8c04283f45eed/src/library/Uno.Material/Styles/Controls/TextBox.xaml#L142
GitHub
This library is designed to help you use the material design system with the Uno Platform - Uno.Themes/TextBox.xaml at 58cbfb1eedb446c7cefd88e7a2f8c04283f45eed · unoplatform/Uno.Themes
@sakshi173 Can you help to verify if this issue is still valid for Gallery please?
Hi @agneszitte-nventive, I retested this issue and I am not able to generate it, due to that closing it.
Hi @agneszitte-nventive, I retested this issue and I am not able to generate it, due to that closing it.
Thanks a lot @sakshi173 !