3D Viewport DOM Event Propagations
Interactive 3D configurator frontends stack 2D UI elements directly over the 3D viewport canvas. Maintaining correct event propagation is vital: any overlay element that incorrectly intercepts mouse or touch gestures will freeze viewport orbit, zoom, and panning controls.
Core DOM & Pointer Event Rules
1. Root Transparency: The root element of any React, Vue, or Vanilla overlay must have pointer-events: none (e.g. the Tailwind class pointer-events-none). This allows all pointer actions to pass directly through the invisible overlay to the WebGL canvas underneath.
2. Interactive Isolation: Any child controls (buttons, option cards, scroll carousels, text inputs) must explicitly declare pointer-events: auto (pointer-events-auto) to re-enable clicks, drags, and hover states locally.
3. No Provider Nesting: Do not declare or wrap your interface inside <AircadaProvider> or similar Context tags. The hosting container framework handles hydration automatically. Re-wrapping resets state channels.






