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

Allow iOS Keyboard Scrolling to be turned off in Lifecycle Events #18266

Merged
merged 2 commits into from Oct 24, 2023

Conversation

tj-devel709
Copy link
Contributor

Description of Change

The iOS Keyboard Scrolling can be turned off by customers if they would like to use custom code to control the scrolling. At this point, the Disconnect() method that turns off the scrolling has trouble when used in Lifecycle events since it would be overrided by the default Connect() method in the Lifecycle events. This change allows the user to call the Disconnect anywhere in the code and be respected. Also adds a little documentation to the Connect and Disconnect method.

This code for this fix comes from this pending PR but is in a bite-sized PR to help get in by GA :)

@tj-devel709 tj-devel709 added this to the .NET 8 GA milestone Oct 23, 2023
@tj-devel709 tj-devel709 requested a review from a team as a code owner October 23, 2023 16:40
@ghost ghost added the area/controls 🎮 Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Oct 23, 2023
@tj-devel709 tj-devel709 force-pushed the dev/TJ/KeyboardScrolling-Connect branch from 72e213d to 3393eb4 Compare October 23, 2023 17:56
@tj-devel709 tj-devel709 changed the base branch from main to net8.0 October 23, 2023 17:57
@PureWeen PureWeen merged commit 296588c into net8.0 Oct 24, 2023
47 checks passed
@PureWeen PureWeen deleted the dev/TJ/KeyboardScrolling-Connect branch October 24, 2023 19:15
@PureWeen
Copy link
Member

/backport to release/8.0.1xx-rc2.2

@dotnet dotnet deleted a comment from github-actions bot Oct 24, 2023
@github-actions
Copy link
Contributor

Started backporting to release/8.0.1xx-rc2.2: https://github.com/dotnet/maui/actions/runs/6631550483

@dotnet dotnet deleted a comment from github-actions bot Oct 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@samhouts samhouts removed the area/controls 🎮 Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants