[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.

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.