You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are looking to change the size of panel after change in your content size, in your FloatingPanelLayout use a variable to provide panel height like this: .half: FloatingPanelLayoutAnchor( absoluteInset: kSPviewHeight, edge: .bottom, referenceGuide: .safeArea ),
once the content height is adjusted, set the panel layout once again and move it to the desired state: fpc?.layout = SPSelectionLayout() fpc?.move(to: .half, animated: false)
Description
I support dynamic font resizing. And I want the panel to be able to dynamically resize, too.
Expected behavior
When changing the settings (increasing or decreasing the font), the panel changes its size.
Actual behavior
The panel does not change its size.
Steps to reproduce
Show the panel on the screen
Minimize the application. Open the settings (Large Text) and change the size.
Deploy the application. The size of the content should change, but the panel does not.
Code example that reproduces the issue
I tried calling the
invalidateLayout
andinvalidateIntrinsicContentSize
methods, but it didn't helpHow do you display panel(s)?
How many panels do you displays?
Environment
Library version
Installation method
iOS version(s)
Xcode version
The text was updated successfully, but these errors were encountered: