Closed cris-m closed 8 months ago
seems working for me on windows app
are you on a Mac? have you tested with a normal MAUI app?
I have test it in normal MAUI app and it work perfectly.
may I ask the the version of MauiReactor and the system you're testing? windows or Mac?
I am testing on Mac and the MauiReactor
version is 2.0.7-beta
Working on Mac using the latest MauiReactor version:
<ItemGroup>
<PackageReference Include="Reactor.Maui" Version="2.0.19" />
<PackageReference Include="Reactor.Maui.Canvas" Version="2.0.19" />
</ItemGroup>
updating Reactor.Maui
and Reactor.Maui.Canvas
throw an error when using inline component on Component.Render
:
example:
public VisualNode OutlinedTextField(string label, string supportText)
=> Component.Render(context =>
{
}
I get the following error:
error CS0411: The type arguments for method 'Component.Render<S>(Func<ComponentContextState<S>, VisualNode>, S?)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Yes you have to specify the type of the state, for example Render < double > (...) or Render<(double param1, int param2)>(...)
https://adospace.gitbook.io/mauireactor/whats-new-in-version-2
I got an other issue which is unrelated. The simulator cannot start the app.
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:10000: Connection refused
I will close this issue because I was unable to test.
I was trying to set a
ToolTipProperties
on button usingSet
(use to set a specific dependency property of the native control).