Firefox Select Diagnostic — v3

Browser: Node.js/22

Widget A — Select in plain page DOM  | Widget B — portal modal, no motion.div ancestor  | Widget C — portal modal opened from inside <motion.div> (production equivalent). All share one log.

Instructions

  1. Click ▶ Start Test
  2. Click Witness Type in Widget A (sky blue) — verify it works
  3. Click Open Widget B Modal — click Witness Type inside it
  4. Close Widget B with ✕
  5. Click Open Widget C Modal (orange, inside motion.div) — click Witness Type inside it
  6. Close Widget C with ✕
  7. Click 📋 Copy Full Log and paste the entire log here

WA = Widget A (sky)  |  WB = Widget B, no motion.div (rose)  |  WC = Widget C, inside motion.div (orange)  |  Wsys = document/observer events