-
Notifications
You must be signed in to change notification settings - Fork 690
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
[Android] Combobox dropdown placement can be a bit misaligned vertically #10339
Comments
Note for contributorThe positioning of popups is likely not taking Window.VisibleBounds into account, as well as the keyboard position to determine the values. |
I have checked the code, but it seems it is taking uno/src/Uno.UI/UI/Xaml/Controls/ComboBox/ComboBox.cs Lines 857 to 860 in 46b2708
If the behavior is correct, maybe it should also extend to popups in general, not be What is definitely incorrect is that the combo should probably open up down instead of center on top of the box - I need to investigate why it happens this way currently. |
@MartinZikmund I don't recall specifically what the reason was at that time, but it may also be a mix of Native vs XAML specific tests. At least, there's a UI test for it :) Line 65 in 1950ce3
|
Now with regards to displaying under the translucent bar, It would make sense for ComboBox popups to not extend under the bar? |
Current behavior
When the app is configured with a shell as a
UserControl
while also activating translucent, theCombobox
dropdown always misaligned itself verticallyShell.xaml
Android Style.xml
Expected behavior
How to reproduce it (as minimally and precisely as possible)
Combobox
Workaround
Setting
Uno.UI.FeatureConfiguration.Popup.UseNativePopup
totrue
fix the misalignment issue. Which, this bug was also happening beforeUseNativePopup
was changed tofalse
by default.Which could also introduce this bug #9004
Works on UWP/WinUI
No response
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
4.7.0-dev.60
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.3.5
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: