From Longman Dictionary of Contemporary Englishhave a knack of doing somethinghave a knack of doing something informalBritish EnglishOFTEN to have a tendency to do something He has a knack of saying the wrong thing. → knack
Examples from the Corpus
have a knack of doing something• Children have a knack of choosing the most inconvenient or embarrassing times for their Socratic dialogues.• I have spent years using buses, and seem to have a knack of sitting next to some very odd people.