jquery-mobile-simpledialog icon indicating copy to clipboard operation
jquery-mobile-simpledialog copied to clipboard

modal shading div overrides dialog on Android 4 only

Open rbdcti opened this issue 13 years ago • 3 comments

I have a simpledialog2 dialog like:

        $(document).simpledialog2({
          'mode' : 'button',
          'zindex': 10005,
          'buttonPrompt' : 'End chat?',
          'buttons' : {
            'Yes': {
              click: function () {
                return endChat(true);
              },
              icon: "check"
            },
            'No': {
              click: function () {
              },
              icon: "back"
            }
          }
        });

If you go to samsung.apptend.com, choose a category, and click submit to start a chat, then click the End Chat button. That's a simpledialog2 dialog. It shows up fine on all platforms except Android 4.x, where it will initially appear, but then .5 seconds later or so be shaded out (it still responds to input, so this is a cosmetic issue). In that interface, I am using a fixed header and a non-fixed footer. If I lower the zindex to < 1000, it will appear fine on Android 4, but the header will not be shaded out anymore. I've tested with Android 2.x, 3.x, iOs 4 and 5, Windows Phone 7, etc...not an issue on anything except ICS...wondering why.

I am using the latest jqm master from today. It could have something to do with this fix maybe: https://github.com/jquery/jquery-mobile/commit/af46c6c40725f15b6d3502449df357815b39940d because I don't remember it being an issue since the last update....

And yes, simpledialog2 is about to be the Preferred Dialog Provider (TM) for all Samsung mobile chats. :)

rbdcti avatar Mar 19 '12 16:03 rbdcti

No it's not with that commit. I commented out that line and no difference.

rbdcti avatar Mar 19 '12 16:03 rbdcti

Any chance there has been a change? Sadly, I have no test hardware for this...

jtsage avatar Jun 11 '12 21:06 jtsage

I am also experiencing this issue with JQM 1.1.1 final on a Samsung Galaxy S3 running Android 4.0.4.

robdiciuccio avatar Jul 16 '12 18:07 robdiciuccio