Skip to content

Comments

Add Pages VC View opposed to the handlers view#13510

Merged
mattleibow merged 7 commits intomainfrom
add_view_from_vc_not_handler
Mar 29, 2023
Merged

Add Pages VC View opposed to the handlers view#13510
mattleibow merged 7 commits intomainfrom
add_view_from_vc_not_handler

Conversation

@PureWeen
Copy link
Member

Description of Change

Go to next entry code wasn't working with shell because on iOS with shell we were never accessing ViewController.View on the PageViewController. This means that the View property on the PageViewController was never loading. We would just add the PageView.

This PR adds the View via the VC instead of the Handler so that the PageViewController can be setup as a NextResponder and thus be located by the FindNext code

The previous version of this PR didn't quite work. We also needed to change which view we are setting the Frame on inside ShellSectionRootRenderer . ShellSectionRootRenderer needs to set the Frame on the Page ViewControllers View instead of the PlatformView.

Issues Fixed

Fixes #13332

@PureWeen PureWeen marked this pull request as draft February 23, 2023 04:10
@PureWeen PureWeen force-pushed the add_view_from_vc_not_handler branch from ec30480 to c018724 Compare March 22, 2023 17:07
@github-actions
Copy link
Contributor

Thank you for your pull request. We are auto-formatting your source code to follow our code guidelines.

@PureWeen PureWeen marked this pull request as ready for review March 22, 2023 20:05
@PureWeen
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@PureWeen PureWeen force-pushed the add_view_from_vc_not_handler branch from 3fc3b75 to f74ccc1 Compare March 28, 2023 16:57
@github-actions
Copy link
Contributor

Thank you for your pull request. We are auto-formatting your source code to follow our code guidelines.

@PureWeen
Copy link
Member Author

/rebase

@PureWeen PureWeen force-pushed the add_view_from_vc_not_handler branch from fa9378d to f8a35e0 Compare March 28, 2023 23:45
@mattleibow mattleibow merged commit 918fdca into main Mar 29, 2023
@mattleibow mattleibow deleted the add_view_from_vc_not_handler branch March 29, 2023 10:28
@samhouts samhouts added area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/ios labels Jul 11, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-shell Shell Navigation, Routes, Tabs, Flyout fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants