Hybrid View

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default [2.1] Sheets / ActionSheets / Picker flying of the screen

    [2.1] Sheets / ActionSheets / Picker flying of the screen


    Since some 2.1 preview version, can't remember exactly which, sheets that are supposed to slide in from the bottom fly off the screen on Chrome, iOS and Android.

    This has something to do with the show animation, turning it off fixes it.

    I wasn't able to reproduce this in the kitchensink nor isolate it yet. In the isolated test I did the other day it worked.

    Still thought I file a bug, maybe somebody else can provide more info.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,065
    Vote Rating
    852
    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


    Just tried this on a couple different devices and could not reproduce. Would need to repro it to find the bug:

    Code:
    var actionSheet = Ext.create('Ext.ActionSheet', {
        items : [
            {
                text : 'Delete draft',
                ui   : 'decline'
            },
            {
                text : 'Save draft'
            },
            {
                text : 'Cancel',
                ui   : 'confirm'
            }
        ]
    });
    
    Ext.Viewport.add(actionSheet);
    actionSheet.show();
    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
    Ext JS Premium Member
    Join Date
    Sep 2009
    Posts
    22
    Vote Rating
    0
    zlesko is on a distinguished road

      0  

    Default


    This is happening with all of my ActionSheets, Pickers, selectfields. Was working in 2.0.1.1, broken in 2.1.1. Sometimes they fly off the top of the screen and then come back, sometimes they disappear entirely and just leave a blank screen which breaks the app entirely. A quick search of the forums shows that this has been buggy for a year.

    Couple of easy ways to reproduce. Take the bottom-docked tab panel example, add a card layout to one of the tabs, add a FormPanel to one of the cards, add a selectfield to the form. Works ok the very first time you click on the selectfield, but then cancel it and try to select it again and it breaks from that point on.

    On another card, add a button or link or something that opens a Picker. Same behavior.

    Also on the same bottom tab panel, add a Container to the Viewport with a toolbar docked to the top, with a button in the toolbar that creates an ActionSheet. Show it and hide it a few times. Same behavior.

    If I add a hide listener that destroys the ActionSheet after a brief timeout, that works, but I need my form elements and Pickers to exist.

Thread Participants: 2