-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Labels
Area: View ManagersNeeds: Dev DesignPartner: FacebookRecommend: Not PlannedRecommend that issue should be given Not Planned milestone.Recommend that issue should be given Not Planned milestone.enhancement
Milestone
Description
Proposal: Add interface to pass root tag to IViewManager
Summary
The UIManager module sends the rootTag to the createView native method. For view managers like FlyoutViewManager, we could use this rootTag value to look up the appropriate XamlRoot when creating XamlRoot dependent views like flyouts.
We might want to add something like NativeUIManager::tryGetXamlRoot(int rootTag) as well.
Motivation
Currently, FlyoutViewManager gets the XamlRoot for the first root view created with a XamlRoot. This is error prone in multi-window apps, where we need to set the correct XamlRoot for views like flyouts.
Metadata
Metadata
Assignees
Labels
Area: View ManagersNeeds: Dev DesignPartner: FacebookRecommend: Not PlannedRecommend that issue should be given Not Planned milestone.Recommend that issue should be given Not Planned milestone.enhancement