The closing popover hands the focus back to "+N" in a microtask it queues as it unmounts, after the chip was focused (seen in Chrome; jsdom does not show it). A second focus, queued after it, wins.