Open Soap-141 opened 2 years ago
Make sure to take a look first at this property, defined by default in uno apps: https://github.com/unoplatform/uno/blob/1cbc1340b62aa8f09128c12666f59d57ea3dc296/src/SolutionTemplate/UnoSolutionTemplate/Droid/MainActivity.cs#L12.
@jeromelaban AdjustPan is not what I'm looking for because it will push my list and my command bar therefor it will hide my command bar. Also AdjustPan doesn't push my layout high enough.
Here's a description of the ideal behavior that we're aiming for when the keyboard opens:
That's pretty much what other chat apps do (Discord, Messenger, etc.).
Current behavior
I'm trying to create a chat control but the Android
SoftInput.AdjustResize
behavior is only working the first time we open the keyboard.Expected behavior
The layout should be resized every time the keyboard is open.
How to reproduce it (as minimally and precisely as possible)
TextBox
at the bottomWorkaround
No response
Works on UWP/WinUI
No response
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.2.5
Relevant plugins
No response
Anything else we need to know?
No response