Template repo for tiny cross-platform apps that can be modified on phone, tablet or computer.

close all menus when tapping any button

I think I'm least likely to break something if I do this as explicitly as possible rather than trying to figure out the right helper to put it in once and for all. So just add some boilerplate to reset all state at the start of each onpress1 handler. This seems like a good choice since we aren't planning to add a lot more menus that would quadratically explode the boilerplate.

Created by  akkartik  on December 5, 2023
OGDDLU5BOJEAETHLBI5S3HAOHI275IVIY5UOJ4TG6DROJJ5PIOLAC
Change contents