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

Dropdown From razor Class Library does not work in Blazor MAUI Windows, but works fine in Blazor Wasm Client #5767

Closed
1 task done
nssidhu opened this issue Apr 1, 2022 · 7 comments
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@nssidhu
Copy link

nssidhu commented Apr 1, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I created Razor Class Library Project for DropDown List of Countries.
When in add Reference to this RCL in Blazor Wasm it works as expected.

The same Project when referenced in Blazor MAUI, load the list fine but on click of drop down arrow does not show the list of countries. it just flickers for a moment but collapses back immidiately.

Expected Behavior

Should display List of countries when clicked

Steps To Reproduce

https://youtu.be/r51cC6te6ww

Exceptions (if any)

None

.NET Version

6.0.300-preview.22154.4

Anything else?

using Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview
Version 17.2.0 Preview 2.0

@TanayParikh
Copy link
Contributor

Hi @nssidhu, thanks for contacting us. This is likely due to a known WinUI3 bug which has since been fixed. Can you please confirm you're on the latest Maui release candidate?

@ghost
Copy link

ghost commented Apr 1, 2022

Hi @nssidhu. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@nssidhu
Copy link
Author

nssidhu commented Apr 1, 2022

Is there a command to get the check the MAUI Version ?
I tried maui-check, but it is not recognized as valid command
C:\WINDOWS\system32>maui-check
'maui-check' is not recognized as an internal or external command,
operable program or batch file.

@TanayParikh
Copy link
Contributor

Upgrade instructions should be part of the release post (ex. https://devblogs.microsoft.com/dotnet/dotnet-maui-preview-14/#get-started-today). Though it looks like you're already on VS 17.2 Preview 2.

I believe the RC1 release should be going out soon(?), so you may have to wait for that to be available before this is resolved for you.

@TanayParikh TanayParikh transferred this issue from dotnet/aspnetcore Apr 1, 2022
@TanayParikh TanayParikh added the area-blazor Blazor Hybrid / Desktop, BlazorWebView label Apr 1, 2022
@TanayParikh
Copy link
Contributor

TanayParikh commented Apr 1, 2022

Root cause: MicrosoftEdge/WebView2Feedback#1693

However based on #4325 (comment), this shouldn't be an issue in 17.2 Preview 2. I wonder if you're running into a caching issue resulting in using MAUI preview 13 or earlier still.

Have you tried:

If you are upgrading from .NET MAUI preview 10 or earlier, or have been using maui-check we recommend starting from a clean slate by uninstalling all .NET 6 previews and Visual Studio 2022 previews.

@TanayParikh TanayParikh added the s/needs-info Issue needs more info from the author label Apr 1, 2022
@ghost
Copy link

ghost commented Apr 1, 2022

Hi @nssidhu. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Apr 5, 2022
@ghost
Copy link

ghost commented Apr 5, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Apr 8, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 9, 2022
@samhouts samhouts added the t/bug Something isn't working label Jul 31, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Jul 31, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Blazor Hybrid / Desktop, BlazorWebView s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants