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

Fix touch input in SukiSideMenuItem #338

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

sdijoseph
Copy link

Resolves issue #333. I tested this on a touch capable monitor and it appears to resolve the issue. Essentially, it seems the OnPointerPressed method was incompletely copied from ListBoxItem, and OnPointerReleased was omitted entirely. This PR copies both methods from ListBoxItem, but changing the ItemsControl.ItemsControlFromItemContainer(this) is ListBox owner to ItemsControl.ItemsControlFromItemContainer(this) is SukiSideMenu owner. There might be a more elegant way to handle these methods overrides, but I'm prioritizing just fixing the bug for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants