[solved]: SwipeMenu is open after changing View


Antonio Cambule

Hi there,

i used the SwipeMenu Samples to make an swipe menu in my app.

In MainView i do:

Show

SwipeLeft:

SwipeRight:

1. I open and clode the menu in MainView
2. I change to editview (cancel or save it) --> ReplaceView "MainView"
3. Back in MainView the menu is opened

I tried using Hide "MenuContainer" on MenuHide after the AddClass, that works, but then i do not have any animation

I've seen that there is no sample with more views, so this problem maybe hasn't been seen before?

thanks and regards
Antonio


DecSoft

Hello Antonio,

Please, take a look at this SwipeMenu3.zip modified sample, who uses the Master View in order to place the Container and Menu. I think they works reasonably well, even when I am not very fun of this "swipe menus". Please, Antonio, take a look and tell me if they can help you in some manner.



Antonio Cambule

Thanks David,

your sample showed up my mistake. The "left" property of the Container has to be -width, out of the menu,
otherwise it keeps visible. Now it works as expected.

Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.