upvote
Interestingly, there are more use cases for hysteresis in UI design, e.g. it was famously used in nested menus in Windows: https://www.mackido.com/Interface/hysteresis.html

I think there was also an article about it on The Old New Thing, but I can't seem to find it anymore.

reply
Like the HN post we're commenting on, so too does this example also get regurgitated every few years.

Find modern examples by Googling "menu safe triangle." Here's one from 5 days ago https://www.framer.com/blog/cursor-trajectory/

> I asked the Framer Agent to fix it, and within minutes it had built and applied what I now call trajectory-based menu aim

reply
>> Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past.

How is this different from the observation that, say, a non-magnetic iron ball may have more than one possible velocity in a given gravitional field, depending on whether it was recently thrown upward or dropped from above?

reply