I’m trying to create popup menu using the toggle button and visibility option on an element. using a true false record on the user collection.
It is working but I encounter a problem when adding action on the screen with the menu. I added an action to update login user when he enter the screen with the toggle menu so it will be false. The reason is that sometime a user will click back button or close the app… and I want the menu to be close next time he enter the screen with the popup toggle menu.
I can add update user action to make the record false in many places but the only option to make it 100% is to add the action on the menu screen.
BUT… there is a problem when doing that. the menu open and immediately close. it seems that the action on the screen is keep on going all the time and forcing the record to be false.
Is this how it should be or is this a bug?
I made a cloneable app and will be grateful if you guys can have a look.
(no doing a menu on a screen module is not a good option)