facebook

Problem with input types on iOS

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #339026 Reply

    dabbelju
    Member

    Hi all,

    I have the problem, that when I run my app on iOS I can not click into any input field. When I run the app in the testcenter, everything is fine.

    I am talking about the page (e.g. “anzeigen”) where I load html from remote server and put it into a div.

    Any ideas?

    Please find atatched my project.

    Best regards
    Dabbelju

    Attachments:
    You must be logged in to view attached files.
    #339098 Reply

    support-michael
    Keymaster

    @dabbelju

    Are you running a webapp or a native app? The reason for the question is if you are running a webapp you could very likely be dealing with a cross domain restriction. In the Test Center you can get around cross domain issues by turning off web security.

    #339107 Reply

    dabbelju
    Member

    Hello support-wayne,

    thanks for your answer.

    I am running this as native app. The interesting thing is, that in the attached test app it is not happening.

    And regarding the cross domain issue: I do not think, that this is the reason. I would think, that the page would not even load, or would it?

    In the attached zip press on the load 1 button (this is loading the page via the jquery .load function directly into the div) and load 2 button is loading it from the local storage into the same div.

    On iOS as native app I can use the input filed in both cases.

    Thanks and best regards.
    Dabbelju

    Attachments:
    You must be logged in to view attached files.
    #339201 Reply

    Hi dabbelju,

    We’ve discovered that the problem is you’re initializing manually your iScroll. In order to fix this bug, phoneui passes customization function during iScroll object creation that workarounds this bug (so all iScroll components created by M1 don’t have this problem). Attached your file with the modifications to get your app working.

    Attachments:
    You must be logged in to view attached files.
    #339237 Reply

    dabbelju
    Member

    Hi Octavio,

    thanks a lot! Works great.

    Best
    Dabbelju

    #339246 Reply

    Hi dabbelju,

    Thanks for confirm that it was helpful. Closing thread.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Problem with input types on iOS

You must be logged in to post in the forum log in