Skip to content

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

Merged
PureWeen merged 2 commits into
net8.0from
dev/TJ/KeyboardScrolling-Connect
Oct 24, 2023
Merged

Allow iOS Keyboard Scrolling to be turned off in Lifecycle Events#18266
PureWeen merged 2 commits into
net8.0from
dev/TJ/KeyboardScrolling-Connect

Conversation

@tj-devel709
Copy link
Copy Markdown
Member

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 legacy-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
@PureWeen PureWeen deleted the dev/TJ/KeyboardScrolling-Connect branch October 24, 2023 19:15
@PureWeen
Copy link
Copy Markdown
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
Copy Markdown
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 legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jan 31, 2024
@samhouts samhouts added the fixed-in-8.0.100-rc.2.9530 Look for this fix in 8.0.100-rc.2.9530 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-entry Entry area-keyboard Keyboard, soft keyboard fixed-in-8.0.100-rc.2.9530 Look for this fix in 8.0.100-rc.2.9530 platform/ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants