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

[Android] ComboBox does not work inside ContentDialogs #7285

Closed
mikernet opened this issue Oct 5, 2021 · 5 comments
Closed

[Android] ComboBox does not work inside ContentDialogs #7285

mikernet opened this issue Oct 5, 2021 · 5 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@mikernet
Copy link
Contributor

mikernet commented Oct 5, 2021

Current behavior

Clicking on the ComboBox to bring up the popup with the list of items does not work when it is inside a ContentDialog.

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

Put a ComboBox inside a ContentDialog and notice it does not work.

Workaround

No response

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

Uno.UI 3.11.0-dev.290

Affected platforms

Android

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@mikernet mikernet added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Oct 5, 2021
@jeromelaban
Copy link
Member

Thanks for the report this is a duplicate of #2533. Can you validate that the workaround provided there works for you ?

@jeromelaban jeromelaban added triage/duplicate Indicates an issue is a duplicate of other open issue. and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Oct 6, 2021
@mikernet
Copy link
Contributor Author

mikernet commented Oct 6, 2021

@jeromelaban That does not appear to have any effect. I did:

        protected override void OnLaunched(LaunchActivatedEventArgs e)
        {
            #if __ANDROID__
            Uno.UI.FeatureConfiguration.Popup.UseNativePopup = false;
            #endif
     
            // rest of launch init...
        }

Is that correct?

@mikernet
Copy link
Contributor Author

mikernet commented Oct 6, 2021

1 sec, Xamarin is just being buggy and launching the previous version anytime I try to debug or run it.

@mikernet
Copy link
Contributor Author

mikernet commented Oct 6, 2021

Alright, seems to be good now :)

@mikernet
Copy link
Contributor Author

mikernet commented Oct 6, 2021

Problem now is that when the popup is opened it doesn't scroll the popup list to the currently selected item in the combo box, it just opens to the start of the list, but I'll open another issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants