Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking WebView is broken in iOS 17.4.x #629

Closed
Ajaxy opened this issue May 9, 2024 · 6 comments · Fixed by #630
Closed

Tracking WebView is broken in iOS 17.4.x #629

Ajaxy opened this issue May 9, 2024 · 6 comments · Fixed by #630

Comments

@Ajaxy
Copy link

Ajaxy commented May 9, 2024

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?

@scenee
Copy link
Owner

scenee commented May 11, 2024

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.

@scenee
Copy link
Owner

scenee commented May 18, 2024

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

@Ajaxy
Copy link
Author

Ajaxy commented May 19, 2024

Thanks @scenee for your great project.

@Ajaxy
Copy link
Author

Ajaxy commented May 20, 2024

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

@scenee
Copy link
Owner

scenee commented Jun 12, 2024

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

@Ajaxy
Copy link
Author

Ajaxy commented Jun 14, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants