Page 1 of 1

Popup flickering (not with pages).

Posted: Mon Apr 22, 2013 7:57 pm
by dale

Hi,

I've got rid of android flickering on pages using the suggested:

CSS
#ajaxBusy {display: none !important;}

JS
$.mobile.defaultPageTransition = 'none';
$.mobile.defaultDialogTransition = 'none';

Works a treat! ;-)

When I display a popup though, there is quite a bit of flickering.

I notice that a page show event is associated to a transition effect (default), but the popup isn't, is there a workaround for this please?

Is there such a thing as - $.mobile.defaultPopupTransition = 'none'; ?

Thanks,

Dale.

(I'm running from .apk)


Popup flickering (not with pages).

Posted: Mon Apr 22, 2013 8:29 pm
by Kateryna Grynko

Hi

I notice that a page show event is associated to a transition effect (default), but the popup isn't, is there a workaround for this please?

Could you please clarify what you mean? We are able to call "Page Show" for Popup. Or can't you set transition effect for Popup?

Is there such a thing as - $.mobile.defaultPopupTransition = 'none'; ?

You can use the following JavaScript:
code$.mobile.defaultDialogTransition = 'none';/code to disable transition effects for popups.


Popup flickering (not with pages).

Posted: Tue Apr 23, 2013 11:21 am
by dale

I think the flickering is caused by the fact that the popup appears and the 'background' goes to black - not sure.

As far as I can see "$.mobile.defaultDialogTransition = 'none';" doesn't stop the transition for the popup?

Thanks,

Dale.


Popup flickering (not with pages).

Posted: Tue Apr 23, 2013 2:28 pm
by Kateryna Grynko

Hi Dale,

If you call popup via builder "Open as popup" then it is called with transition= 'pop'.

To call popup without transition you can use the following JavaScript code:
codeAppery.navigateTo('ScreenPopupName', {
transition: 'none'
});/code