Dropdown inside an Iframe Issue

I have a web page that has a dropdown as my first control and this Page is the source for another page which has an Iframe..



When i load the Base page on Iphone , Page load, when i select an item from dropdown, instead of “Done” i will press the > key.. After this, control goes to the next control but i am not able to type anything on this now..



I have tried to load some other public webpages which has dropdown on the iframe.. and even there same issue exists.



Please help me how to resolve this.

iPhone 4S, iOS 7

Posted on Nov 5, 2013 12:03 AM

Reply
3 replies

Nov 7, 2013 12:21 PM in response to Charan49

We are having the same exact problem as the OP. We have an iframe on our 3rd party sites creating the same issue.


At first I thought this may be related to javascript and other things but our tests on a stripped down example caused the same issue.


I have confirmed through javascript that the input, after the "Next" button is pressed has focus. Also confirmed that the buttons being pressed are registering but for some reason the values are not getting appended to the input itself.


This leads me to believe this is some sort of mobile safari bug, which means that it may be awhile until a fix comes out and even if one does... not all older devices will receive it (actually not sure yet if this exists on iOS legacy devices).


I have a basic proof of concept that will detect the characters pressed, decode them and append them to the input but it is a hack at best. You can only go so far to simulate native functionality. I would have to also simulate special buttons, like the backspace and spacebar for certain inputs. As a last ditch fix I may implement a plugin that would accomplish this but it would probably not have all of the functionality of a native input.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dropdown inside an Iframe Issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.