diff --git a/src/transition/end.js b/src/transition/end.js index 252ce86..d9aa373 100644 --- a/src/transition/end.js +++ b/src/transition/end.js @@ -22,5 +22,8 @@ export default function() { schedule.on = on1; }); + + // The selection was empty, resolve end immediately + if (size === 0) resolve(); }); }