Results 1 to 6 of 6

Thread: Ext.Menu swipe error

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    31
    Answers
    1

    Default Ext.Menu swipe error

    Then I make edge swipe action,
    error "Uncaught TypeError: Cannot call method 'on' of undefined"
    at this file(line 1228):

    Code:
    else {
                this.getTranslatable().on('animationend', function() {
    Code:
    var chl = Ext.create("Ext.Menu", {
                width:"80%",
                html : "fffff"
            });
    
    
            Ext.Viewport.setMenu(chl, {
                side: 'left',
                reveal:true
            });
    Ext.Viewport.showMenu("left") - working perfect!

    Why?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    The issue that you are experiencing is unclear to me from the info you have provided. Could you please clarify? Possible with an fiddle? Moving to Q&A since this does not sound like a bug.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2008
    Posts
    369
    Answers
    3

    Default

    I've run into the same issue, here's a fiddle: https://fiddle.sencha.com/#fiddle/3vq

    This is the exact code provided in the docs example: http://docs.sencha.com/touch/2.3.1/#!/api/Ext.Menu

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Thanks for clarifying. This is a known issue TOUCH-5328.
    http://www.sencha.com/forum/showthread.php?281225
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]cha.com

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

    Need to include a test case use:
    The official Sencha Fiddle

  5. #5
    Sencha User
    Join Date
    Jul 2008
    Posts
    5

    Default

    Anyone found a workaround while there's no fix?

    I don't like getting all those errors in the console when using the official Menu

  6. #6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •