At present, we use a hidden view to transition into the PiP state. This can make the transition a bit jerky and potentially confusing. It would be nice to give the developers the option to dock an existing view instead of docking a hidden view.
This would be achieved by removing the content: parameter in the existing dockable modifier. If no content is provided, the attached view is docked. If content is provided, that is docked instead.
At present, we use a hidden view to transition into the PiP state. This can make the transition a bit jerky and potentially confusing. It would be nice to give the developers the option to dock an existing view instead of docking a hidden view.
This would be achieved by removing the
content:
parameter in the existing dockable modifier. If no content is provided, the attached view is docked. If content is provided, that is docked instead.