Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8427087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:42:11+00:00 2026-06-10T04:42:11+00:00

Even though Senscha claims ExtJS isn’t supported on mobile devices, it works quite well.

  • 0

Even though Senscha claims ExtJS isn’t supported on mobile devices, it works quite well. The only little annoyance that I have is that a sub menu of a popup menu requires two touches (‘clicks’) to activate.

It seems the first touch activates the menu, the second touch activates the menu option itself. In a menu with multiple options, clicking any option once results in all options being clickable.

I have a popup menu with checkboxes, these have the same issue. Click one activates (i.e., blue background) the option, click 2 actually clicks the checkbox.

I’m sure there’s a way to tell the prototype of the menu to register the first touch as a click, but I’ve been unable to find it. Any help would be greatly appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:42:12+00:00Added an answer on June 10, 2026 at 4:42 am

    I can’t believe it. I think I found a way! Very hacky, but it works.

    Ext.util.Observable.observe(Ext.menu.Item);
    Ext.menu.Item.on('activate', function(obj, The, eOpts) {
        if (obj.checkHandler) obj.checkHandler(obj);
        if (obj.handler) obj.handler(obj);
        if (obj.checkHandler || obj.handler) {
            if (obj.up().closable) obj.up().close();
            if (obj.up().up().closable) obj.up().up().close();
        }
    });
    

    Later on I’ll need to add code that actually walks the tree up to support multiple levels of submenus, for now one is the limit.

    This whacky stuff could be replaced with simply calling the menu’s Click() event, but that doesn’t seem to work. I tried:

    Ext.menu.Item.on('activate', function(obj, The, eOpts) {
        obj.fireEvent('click');
    });
    

    with all flavors of parameters, but no luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Even though the following works: http://jsfiddle.net/N7D5r/ My attempt at using the same code does
Even though I am a long time C programmer, I only recently learned that
Even though the sun.audio API says that .wav is a supported file apparently the
One of my co-workers claims that even though the execution path is cached, there
Even though the linux man page for wait 1 explains very well that you
Even though it's not part of HTTP 1.1/RFC2616 webapps that wish to force a
Even though it is possible to write generic code in C using void pointer(generic
Even though I have a fermi card(gtx 560) I get this error on VS2010:
Even though I've been reading other topics about my kind of problem, I can't
...even though pointers to member functions are strange animals ? I am coding a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.