DEV Community

Discussion on: What is an example of how an application can anticipate user behavior?

Collapse
 
lexlohr profile image
Alex Lohr

I once helped a colleague of mine writing the code for a rather complex 2-level menu (I didn't like the idea at all, because I'm generally adverse to complex UI, but designers and management wanted it regardless) that had the ability to predict if a user would jump over to the second level or out of the current first level item based on mouse movement acceleration, which while not perfect, made the whole thing at least somewhat usable by preventing accidential switching.

Please, if you are a designer, don't try to replicate that. Even though it was mostly usable, it sucked to have such a lot of content hidden from view. Screen estate is cheap; use it wisely.