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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

FluentComboBox and FluentSelect don't work with mouse selection in Microsoft.Maui.Controls v8.0.14 #1741

Open
euantorano opened this issue Mar 26, 2024 · 11 comments
Labels
area:maui A MAUI/WebView-specific issue status:in-progress Work is in progress

Comments

@euantorano
Copy link

euantorano commented Mar 26, 2024

馃悰 Bug Report

When upgrading Microsoft.Maui.Controls and/or Microsoft.Maui.Controls.Compatibility, the <FluentComboBox> and <FluentSelect> stop accepting mouse inputs to select items. Keyboard actions to select items still work.

Microsoft.Maui.Controls > 8.0.7 causes this bug.
Microsoft.Maui.Controls.Compatibility > 8.0.7 causes this bug.

Using older versions of these libraries (e.g. using 8.0.7 for both) resolves the problem.

Note that other components may also be broken, but I have observed both FLuentCombobox and FluentSelect myself.

馃捇 Repro or Code Sample

See repository: https://github.com/euantorano/fluentui-combo-and-select

Branch main does not work, but the branch working-version does work.

馃 Expected Behavior

Selecting items with the mouse should work for both FluentComboBox and FluentSelect.

馃槸 Current Behavior

Selecting items with the mouse does not work.

7tvOT60LIM

馃拋 Possible Solution

N/A - apart from downgrading dependencies

馃敠 Context

N/A

馃實 Your Environment

  • OS & Device: Windows 11 on PC
  • .NET and Fluent UI Blazor library Version - 8.0.3 and 4.5.0
@jamesmontemagno
Copy link
Member

@Eilon did we change something in the blazor hybrid web view that folks need to specify the render type? do folks need interactivity enabled somehow?

@subratb
Copy link
Contributor

subratb commented Mar 27, 2024

Seems like this issue has resurfaced again. When we had the issue earlier, we solved it by adding a package reference to a particular version of Microsoft.WindowsAppSDK(1.4.231115000). But, now we have the same issue again.

@vnbaaij vnbaaij added the status:needs-investigation Needs additional investigation label Mar 28, 2024
@mohit-x0
Copy link

mohit-x0 commented Apr 2, 2024

I am also facing the same issue, selecting items <FluentSelect> with the mouse does not work on Windows, but it works on Android.

@vnbaaij
Copy link
Collaborator

vnbaaij commented Apr 2, 2024

It seems to be a regression on the MAUI side. We are blocked till it is fixed there.

@vnbaaij vnbaaij added status:blocked Any issue blocked by another and removed status:needs-investigation Needs additional investigation labels Apr 2, 2024
@vnbaaij vnbaaij changed the title FLuentComboBox and FluentSelect don't work with mouse selection in Microsoft.Maui.Controls v8.0.14 FluentComboBox and FluentSelect don't work with mouse selection in Microsoft.Maui.Controls v8.0.14 Apr 17, 2024
@vnbaaij vnbaaij added the area:maui A MAUI/WebView-specific issue label Apr 23, 2024
@jem-experience
Copy link

jem-experience commented Apr 24, 2024

Oh thank you, -1 in my backlog, i had the same issue for weeks after a big UI redesign from pure html css to fluentui components, i was thinking at a css thing so i push myself really hard to delay the investigation, i have others issues, with no css involved, to manage!
I solved it by downgrading the Microsoft.Maui.Essentials from 8.0.21 to version="8.0.6" and the 2 others previously mentionned and everything is fine now!

@euantorano
Copy link
Author

Looks like this is still broken in v8.0.21. Is there any timeline for a fix on the MAUI side or a link to an issue on that side of things?

@vnbaaij
Copy link
Collaborator

vnbaaij commented May 8, 2024

You should really ask that in the MAUI repo. We are not on that team and do not have any insights into their planning/roadmap

@euantorano
Copy link
Author

OK. When you came to the conclusion in #1741 (comment), what made you realise it was a regression on their side? When I open an issue over there I want to provide as much detail as I can.

@vnbaaij
Copy link
Collaborator

vnbaaij commented May 8, 2024

Based on the fact that it worked fine with version 8.0.6 or 7 of the Microsoft.Maui.Componets library.

@euantorano
Copy link
Author

euantorano commented May 8, 2024

OK, thanks. Issue opened with the MAUI team: dotnet/maui#22297

@Eilon
Copy link
Member

Eilon commented May 8, 2024

This appears to be a bug in WinUI WebView2 specifically. I opened a MAUI-less repro bug here: MicrosoftEdge/WebView2Feedback#4545

@vnbaaij vnbaaij added status:in-progress Work is in progress and removed status:blocked Any issue blocked by another labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:maui A MAUI/WebView-specific issue status:in-progress Work is in progress
Projects
None yet
Development

No branches or pull requests

7 participants