You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "pathik3098 (via GitHub)" <gi...@apache.org> on 2023/03/17 19:48:28 UTC
[GitHub] [cordova-ios] pathik3098 opened a new issue, #1298: Modal gets stuck in in-app browser - iOS 16.4 beta 4 (20E5239b)
pathik3098 opened a new issue, #1298:
URL: https://github.com/apache/cordova-ios/issues/1298
# Bug Report
## Problem
we are using Cordova-ios 6.2.0 to create our iOS app. The issue is with the in-app browser feature in our mobile app in the iOS 16.4 beta 3 and beta 4 releases. This issue is not present in the stable iOS version, and our team has not made any recent changes to the code that would affect this feature.
### What is expected to happen?
The modal should be present at top always while scrolling and editing text fields.
### What does actually happen?
The problem is that modal is misplaced in the in-app browser.
To provide more detail, when a user clicks on a link within the in-app browser that should open a modal, the modal does appear but upon scrolling (intermittent) and inputting into text field (always) the modal is floating in the middle of the browser instead of attaching the top which it should be.
Also on one of the page, the page is rendered correctly but upon scrolling the bottom buttons becomes invisible but remains interactive. However, the button should always show at the bottom.
The app is working perfectly using safari browser on all iOS.
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
iOS 16.4 beta 3 and beta 4 releases
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI -> 11.0.0 ,
Cordova Platforms -> cordova-ios - 6.2.0,
Cordova Plugins -> cordova-plugin-inappbrowser : "version": "5.0.0",
Xcode - 14.2
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [ x ] I searched for existing GitHub issues
- [ x ] I updated all Cordova tooling to most recent version
- [ x ] I included all the necessary information above

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] mnewc14 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "mnewc14 (via GitHub)" <gi...@apache.org>.
mnewc14 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498143049
> I tried pulling that example into a simple WKWebView test case (without Cordova) here: https://github.com/dpogue/ios16.4-position-fixed
>
> but I don't see the bug happening, on both iPhone 14 Pro (iOS 16.4) or iPhone SE 3rd gen (iOS 16.4) 😞
Can you try with UIWebView? Based on the testing i've done today, this seems to be specific to UIWebView which is what Cordova uses out of the box
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] karlcow commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "karlcow (via GitHub)" <gi...@apache.org>.
karlcow commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1496957215
It would be great if anyone of you could create a web page online reproducing the issue. That would help running a regression testing to pinpoint when the regression happened.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] vita-it commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "vita-it (via GitHub)" <gi...@apache.org>.
vita-it commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498847497
Hi everyone, problem partially solved for us.
1) What we had:
WebApp based on Framework7
Cordova 11.0
iOs platform 5.1.1 - USES UIWebView by default - see https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html
So the app has been using old UIWebView instead of WKWebView
2) What we have done:
Update iOs platform to latest version
```
cordova platform rm ios
cordova platform add ios
```
3) Result:
the app started using WKWebView (confirmed by XCode logs)
The problem with Framework7 appeared in WKWebView - the blank screen instead application at the screen
Solved with adding lines to config.xml
```
<preference name="scheme" value="app" />
<preference name="hostname" value="localhost" />
```
( solution from https://forum.framework7.io/t/cannot-open-page-on-ios/11793/3 )
4) Finally:
we are **still facing some css problems** (as I can see - regarding z-index or position) but the most part of css problems disappeared (were caused by using deprecated UIWebView).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] dpogue commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498148454
> Can you try with UIWebView? Based on the testing i've done today, this seems to be specific to UIWebView which is what Cordova uses out of the box
Cordova hasn't used UIWebView by default since 2019 when Apple updated requirements to use WKWebView.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] appzer commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "appzer (via GitHub)" <gi...@apache.org>.
appzer commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1497868807
It only affects the WebView that Cordova uses. Everything works fine in Safari!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] pathik3098 closed issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "pathik3098 (via GitHub)" <gi...@apache.org>.
pathik3098 closed issue #1298: Modal gets stuck in in-app browser - iOS 16.4
URL: https://github.com/apache/cordova-ios/issues/1298
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] dpogue commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498022863
I tried pulling that example into a simple WKWebView test case (without Cordova) here: https://github.com/dpogue/ios16.4-position-fixed
but I don't see the bug happening, on both iPhone 14 Pro (iOS 16.4) or iPhone SE 3rd gen (iOS 16.4) 😞
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] TomasNesciokas commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4 beta 4 (20E5239b)
Posted by "TomasNesciokas (via GitHub)" <gi...@apache.org>.
TomasNesciokas commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1491564090
Hello, I'm wondering if this issue still persists despite the release of version 16.4 on March 27th?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] appzer commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "appzer (via GitHub)" <gi...@apache.org>.
appzer commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1494763481
Done
https://bugs.webkit.org/show_bug.cgi?id=254926
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] GabrieleBaltrunaiteVisma commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "GabrieleBaltrunaiteVisma (via GitHub)" <gi...@apache.org>.
GabrieleBaltrunaiteVisma commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1493258415
Similar issue appears on our cordova-ios app when running on iOS 16.4 through iOS 16.5 (beta release). The bottom menu 'disappears' if scrolled down, but seams to be still responsive - the buttons work on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] dpogue commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1494687838
This sounds like a WebKit issue, and you should file it at https://bugs.webkit.org/ with a reproducible test case (and please share the link to the WebKit bug report here)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] pathik3098 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "pathik3098 (via GitHub)" <gi...@apache.org>.
pathik3098 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1494849195
I have also created one.
https://bugs.webkit.org/show_bug.cgi?id=254936.
Also, for me the issue is happening on in-app browser only. on safari it is working fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] appzer commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "appzer (via GitHub)" <gi...@apache.org>.
appzer commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1493421863
i run in the same problem. Since iOS 16.4 also 16.5 beta > CSS position:fixed not work correctly.
Is this a WebView issue?
Kevin
https://user-images.githubusercontent.com/3443312/229374748-0647e54e-4417-4ed6-bb24-2cd8108148b1.mov
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] pathik3098 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "pathik3098 (via GitHub)" <gi...@apache.org>.
pathik3098 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1556291327
Hi everyone,
Here is An update on the issue. we were using a custom plugin for in-app browser and we found that we were using deprecated UIWebView in the XIB file. we changed that to WKWebView and update the plugin and it solved the problem.
Hope that helps.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] mnewc14 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "mnewc14 (via GitHub)" <gi...@apache.org>.
mnewc14 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498156778
Just wanted to confirm the issue is specific to UIWebView. Can anyone else confirm what flavor of webview they are using?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] dpogue commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1497872299
@appzer Can you share the HTML file from your video with the fixed position header?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] vita-it commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "vita-it (via GitHub)" <gi...@apache.org>.
vita-it commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1497841813
>
We have a related issue in our app
A can send you (personally) link with web App that works OK in iOs Safari, but after Cordova/XCode app build it is generally broken - and it is only in iOs 16.4 ( the same app version in previous iOs versions is working well)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] vita-it commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "vita-it (via GitHub)" <gi...@apache.org>.
vita-it commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498745266
> > Can you try with UIWebView? Based on the testing i've done today, this seems to be specific to UIWebView which is what Cordova uses out of the box
>
> Cordova hasn't used UIWebView by default since 2019 when Apple updated requirements to use WKWebView.
As I can see in Cordova source code there are both WKWebView and UIWebView in if/else clause
`if ((gOriginalUserAgent == nil) || cachedValueIsOld) {
#if WK_WEB_VIEW_ONLY
WKWebView* sampleWebView = [[WKWebView alloc] initWithFrame:CGRectZero];
#else
UIWebView* sampleWebView = [[UIWebView alloc] initWithFrame:CGRectZero];
#endif
gOriginalUserAgent = [sampleWebView stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"];
[userDefaults setObject:gOriginalUserAgent forKey:kCdvUserAgentKey];
[userDefaults setObject:systemAndLocale forKey:kCdvUserAgentVersionKey];
[userDefaults synchronize];
}`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] pathik3098 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "pathik3098 (via GitHub)" <gi...@apache.org>.
pathik3098 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498439726
> Just wanted to confirm the issue is specific to UIWebView. Can anyone else confirm what flavor of webview they are using?
I am using WKWebView.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] pathik3098 commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4 beta 4 (20E5239b)
Posted by "pathik3098 (via GitHub)" <gi...@apache.org>.
pathik3098 commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1492680308
@TomasNesciokas Yes, it's still there
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] dpogue commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1494766823
@appzer Great! If you have the standalone page from your video available, attaching that to the WebKit ticket will let them investigate it more quickly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-ios] appzer commented on issue #1298: Modal gets stuck in in-app browser - iOS 16.4
Posted by "appzer (via GitHub)" <gi...@apache.org>.
appzer commented on issue #1298:
URL: https://github.com/apache/cordova-ios/issues/1298#issuecomment-1498010687
> @appzer Can you share the HTML file from your video with the fixed position header?
Attached you find a shortened version of the index.html
[index.txt](https://github.com/apache/cordova-ios/files/11162397/index.txt)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org