Our child safety gate will not hold itself open. Designed this so it remains open and removed a small annoyance in my day to day life.
I've made it in PLA, that breaks fairly easily if you accidentally hit the gate. The one I use now is made from PETG, which so far has not broken. I've also made one in TPU, which just pops off in a satisfying way if you walk into it.