Meaning that was crazy, weird. You didnt expect what happened or what someone did. Also means someone or a place or situation is funny, strange, not expected.
This goes back to the 90s.
That comedian is a trip! That was a trip when that lady started drooling and laughing when I asked her for directions.