scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tracking WebView is broken in iOS 17.4.x

Ajaxy opened this issue · comments

I am using Capacitor View Controller to display WebView within Floating Panel.

let capVc = CAPBridgeViewControllerForBottomSheet()

let fpc = FloatingPanelController()
fpc.set(contentViewController: capVc)
fpc.track(scrollView: capVc!.webView!.scrollView)

It all works fine, however, with the recent release of iOS 17.4.x the last line stopped working. It looks like WebView.scrollView behavior changed and FloatingPanelController can not properly track it anymore.

Did anyone face a similar problem or have a possible solution?

Thank you for your report. I've confirmed this problem is occurring in sample app of the library. And then I found the gestures of the WKWebView has changed a bit. I'm trying to fix this problem now.

I fixed this issue #630 and merged it to master branch. I will release it in v2.8.3 soon. Thanks.

Thanks @scenee for your great project.

@scenee Do you have an idea when the update will come out? Otherwise, is there a way to install it from master?

I'm sorry for the delay, but I've released v2.8.3 now. Thank you for your help.

Thank you!