Have you ever added a click listener to a button, but the parent div also fired? You did not click the parent — so why did it fire? The answer is event phases. And once you understand how events trave

Markdown supported · ⌘↵ to post
No responses yet.