Shin Yamamoto
Shin Yamamoto
I've merged #659 and then this was closed unexpectedly. So I reopened this. I would like to keep track of this issue.
Can you add an example to Samples.app or unit tests to prevent the behavior breaks of the new API in the future?
I think this issue can be resolved using [UIHostingController+ignoreKeyboard](https://github.com/scenee/FloatingPanel/blob/2.8.6/Examples/Maps-SwiftUI/Maps/FloatingPanel/UIHostingController%2BignoreKeyboard.swift) extension and setting ignoresKeyboard to true. This is because Maps-SwiftUI does not crash showing a keyboard by the search bar. And...
Thank you for your report. I'll take a look later.
I recommend to use [`FloatingPanelAdaptiveLayoutAnchor`](https://github.com/scenee/FloatingPanel/blob/2.8.6/Sources/LayoutAnchoring.swift) or [`FloatingPanelIntrinsicLayoutAnchor`](https://github.com/scenee/FloatingPanel/blob/2.8.6/Sources/LayoutAnchoring.swift#L108). I confirmed they are working perfectly for dynamic resizing.
I can't confirm the same leak on the [Samples app](https://github.com/scenee/FloatingPanel/tree/2.8.6/Examples/Samples). So it's likely to this leak is related to your content in the panel.
Thank you for your report and comment :) I'll check this with the attached source code.
@JelliedFish Thanks to your sample projects, I could fix this issue. The fix has been merged into the master branch already. I'm going to release it in version 2.8.4. Additionally,...
Thank you for your patience. I'll take a look for the new issue later.
I've created a patch, #652 for the 2nd issue.