Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1416 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    84
    Vote Rating
    0
    nofx is on a distinguished road

      0  

    Default App works in browser, not on iPhone + clearIcon bug

    App works in browser, not on iPhone + clearIcon bug


    I have this very simple app. Just a view with a docked toolbar and two textfields. The bug is the textfields. I added "clearIcon: false", because they seemed to be enabled by default. But they are still visible..

    Another thing which isn't working on the iPhone is selecting a textfield. I keep pressing on a textfield, but the keyboard never pops up (just some times..). So the textfield is never selected for some reason. I don't have this issue in a webbrowser like chrome. This only occurs when a passwordfield is added. When i leave the passwordfield out, then the other textfields repsond normally.

    Another big issue is that when i add a textfield, it is automatically placed inside a fieldset...

    I added my www directory incase anyone wants to take a look at it.

    http://www.filefactory.com/file/c190cf2/n/www.zip

    I'm using the latest Sencha Touch 2 version: 2.0.0 pr3
    In my app i'm using the sencha-touch-all.js file.

    BTW, i also had to apply this fix in order to make it work for both the browser and iPhone(PhoneGap).
    PHP Code:
                    scopescope
                
    });

                
    //if (Ext.browser.is.PhoneGap) { <-- not working
                
    if (Ext.os.deviceType != 'Desktop' && Ext.browser.is.PhoneGap) {
                    if (!
    Ext.readyListenerAttached) {
                        
    Ext.readyListenerAttached true
    ----

    So to sum up:
    1. clearIcon is always visible, even when clearIcon: is explicitly set tot false.
    2. Strange behaviour with multiple fields. Almost impossible to edit a field when another text/passwordfield is added
    3. When adding text/password fields, they are automatically wrapped in a fieldset....
    4. Needed to add the fix in order to make it work in both the webbrowser and iPhone/PhoneGap

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Can I know more about the iPhone? iOS 3...4...5?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jun 2009
    Posts
    84
    Vote Rating
    0
    nofx is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Can I know more about the iPhone? iOS 3...4...5?
    I'm using an iPhone 3GS iOS Version: 4.3.3 (8J2). But this also occurs in the xcode simulator (all version 4.x versions). The problem doesn't occure in the iOS 5 simulator. But this only applies to the problem i have with selecting textfields.

    All the other problems remain. Like that my textfields are automatically placed in some sort of fieldset, and the fact that i can't hide the clearIcon buttons. This happends on all iOS versions 4.x up to 5.x.

    If you need a fully working copy of my project (including PhoneGap) for xcode, then please let me know.

  4. #4
    Sencha User
    Join Date
    Jun 2009
    Posts
    58
    Vote Rating
    0
    vivendi is on a distinguished road

      0  

    Default


    Heh, i have the exact same problem... Hopefully this will be fixed in the next release.

  5. #5
    Sencha User
    Join Date
    Jun 2009
    Posts
    84
    Vote Rating
    0
    nofx is on a distinguished road

      0  

    Default


    I wonder if this is till under your attention? I provided the needed info, but it's still on "INFOREQ" and i don't think i'm able to change it to another state.

  6. #6
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Looks like we have what we need now, thanks.

    Sencha Inc

    Jamie Avins

    @jamieavins

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."