Skip to content

Fix GridSplitter crash when using native AOT#868

Open
lhak wants to merge 1 commit into
CommunityToolkit:mainfrom
lhak:gridsplitter_aot_fix
Open

Fix GridSplitter crash when using native AOT#868
lhak wants to merge 1 commit into
CommunityToolkit:mainfrom
lhak:gridsplitter_aot_fix

Conversation

@lhak

@lhak lhak commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Fixes

#612

PR Type

Fixes InvalidCastException when the application uses native AOT and the splitter position is changed

What is the current behavior?

App crashes with InvalidCastException

What is the new behavior?

App does not crash

PR Checklist

Please check if your PR fulfills the following requirements:

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • New component
    • Documentation has been added
    • Sample in sample app has been added
    • Analyzers are passing for documentation and samples
    • Icon has been created (if new sample) following the Thumbnail Style Guide and templates
  • Tests for the changes have been added (if applicable)
  • Header has been added to all new source files
  • Contains NO breaking changes

Other information

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.

1 participant