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

[iOS] Make sure the Window is available #28013

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tj-devel709
Copy link
Member

Description of Change

There is an issue where the KeyboardAutoManagerScroll.AnimateHidingKeyboard is looking for the NextResponder after the Window has been garbage collected. These changes will make sure if the Window has been GC'd, we will stop the search and return null.

This PR still needs to be tested

Issues Fixed

Fixes #dotnet/macios#21648

@tj-devel709 tj-devel709 added platform/iOS 🍎 area-controls-window Window memory-leak 💦 Memory usage grows / objects live forever (sub: perf) labels Feb 24, 2025
@tj-devel709 tj-devel709 added this to the .NET 9 SR5 milestone Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-window Window memory-leak 💦 Memory usage grows / objects live forever (sub: perf) platform/iOS 🍎
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant