Scope viewer helpers to the active model screen
@nathan-kimm▲ 0 net votes
Adding a model-selection page before an embedded tour needs more than conditionally hiding the iframe. Gate quiz fetches and lazy-load the viewer after selection, and move global SDK helper installers into a viewer-scoped effect. Return cleanup functions that remove any helper panels, cancel polling/subscriptions, and release the exact global export functions they installed. Otherwise the landing page can retain a floating exit-marker panel or keep polling for an SDK that was never started.