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

Will PointerPressed be supported as a visual state in .NET 8? #17632

Closed
MartyIX opened this issue Sep 25, 2023 Discussed in #17611 · 2 comments
Closed

Will PointerPressed be supported as a visual state in .NET 8? #17632

MartyIX opened this issue Sep 25, 2023 Discussed in #17611 · 2 comments

Comments

@MartyIX
Copy link
Collaborator

MartyIX commented Sep 25, 2023

Discussed in #17611

Originally posted by MartyIX September 24, 2023
Currently, MAUI supports in MAUI .NET 7 the following visual states:

  • Normal
  • Disabled
  • Focused
  • Selected
  • PointerOver

Will PointerPressed be supported as well? Especially after #16213 was merged and #16925 is marked as something that will be delivered in .NET 8 GA.

Regards!

@jfversluis
Copy link
Member

As you already discovered we are working on it and the still open PR for macOS has the milestone of .NET 8 GA. That means, at this time we're planning to include it. Thanks for your enthusiasm on this!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2023
@MartyIX
Copy link
Collaborator Author

MartyIX commented Sep 27, 2023

@jfversluis

As you already discovered we are working on it and the still open PR for macOS has the milestone of .NET 8 GA. That means, at this time we're planning to include it. Thanks for your enthusiasm on this!

It does not seem like that #16925 modifies

public class CommonStates
{
public const string Normal = "Normal";
public const string Disabled = "Disabled";
public const string Focused = "Focused";
public const string Selected = "Selected";
public const string PointerOver = "PointerOver";
internal const string Unfocused = "Unfocused";
}
which makes me think that we are not on the same page but I might be wrong.

@dotnet dotnet locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants