-
-
Notifications
You must be signed in to change notification settings - Fork 534
Open
Description
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
Code example that reproduces the issue
I tried calling the invalidateLayout and invalidateIntrinsicContentSize methods, but it didn't help
class MyFPC: FloatingPanelController {
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
invalidateLayout()
surfaceView.invalidateIntrinsicContentSize()
}
}
How do you display panel(s)?
- Present modally
How many panels do you displays?
- 1
Environment
Library version
- 2.8.5
Installation method
- Swift Package Manager
iOS version(s)
- 17.0 - 18.0.1
Xcode version
- 16.0
Metadata
Metadata
Assignees
Labels
No labels


