Finding Nemo Short Term Memory Loss

This scene from Finding Nemo demonstrates Dorys short-term memory loss. How does short-term memory function differently from sensory memory or long-term memory? Do you think Dorys condition is a family trait, as she claims, or might there be another explanation for it?