iFrame's ASPX controllers issue on iPad #409
Replies: 1 comment
-
The issue doesn't appear to related to Cordova.
Are you able to test the standard Safari browser on iPad and determine if the issue also occurs? Here are some general tips you can do to troubleshoot/find the cause that I generally use:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using cordova 11.0.0, angular 14, ios 6.3.0, and iPadOS version 16.5, I have an iFrame that contains an ASPX URL in which there are dropdown boxes and checkBoxes, all of these controllers are working perfectly on iPhone, Android, and browsers (chrome and safari), except for iPad and iPad simulator, the checkBoxes are checkable but the dropdowns are not working at all.
here's my current code:
HTML:
<iframe *ngIf="this.URL" #networkframe class="networkframe" [src]="this.URL"> </iframe>
SCSS:
.networkframe { width: 450px; height: 400px; border-width: 0px; margin-left: -8px; position: absolute; }
config.xml:
<access origin='*'/> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <allow-navigation href="*" />
I have tried several CSS codes since i believed that the issue might be related to styling, here are some of my tries :
I added a container to the iFrame and applied the following styling :
.networkframe { width: 450px; height: 400px; border-width: 0px; margin-left: -8px; position: absolute; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); } .containerIframe{ overflow: hidden; }
also :
added this preference :
<preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
I hope that you have an idea about this issue and thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions