AntiPattern
State-Dependent Event Assumptions
state-dependent-event-semantic-assumption
Listener logic assumes specific event semantics—replacement vs add/remove, render-time handler lifecycles, and drag preview timing—so code reacts to the wrong phase or interpretation, producing partial updates, duplicate handlers, or incorrect UI previews.