dale
Posts: 0
Joined: Fri Mar 29, 2013 5:28 pm

Popup flickering (not with pages).

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)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Popup flickering (not with pages).

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.

dale
Posts: 0
Joined: Fri Mar 29, 2013 5:28 pm

Popup flickering (not with pages).

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Popup flickering (not with pages).

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

Return to “Issues”