The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
fix(studio): resolve the feedback layer host class
luogaodbc9f2c871bf
diff --git a/studio/src/components/FeedbackLayer.tsx b/studio/src/components/FeedbackLayer.tsxindex a4e389dc..aa9cba16 100644--- a/studio/src/components/FeedbackLayer.tsx+++ b/studio/src/components/FeedbackLayer.tsx@@ -2,16 +2,12 @@ import { useLayoutEffect, useState, type ReactNode } from 'react';import { createPortal } from 'react-dom';import { mountFeedbackLayer } from '../../../web/feedback-layer';-/** The container may move between native dialogs; React retains portal ownership. */+/** The container may move between native dialogs; React retains portal ownership.+ * Its layout lives in `components.css` so the class the source claims is a real rule. */export function FeedbackLayer({ children }: { children: ReactNode }) {const [container] = useState(() => {const node = document.createElement('div');node.className = 'motion-feedback-layer';- Object.assign(node.style, {- position: 'fixed', inset: '0', margin: '0', padding: '0', border: '0',- width: '100%', height: '100%', maxWidth: 'none', maxHeight: 'none',- background: 'transparent', overflow: 'visible', pointerEvents: 'none', zIndex: '2147483647',- });return node;});useLayoutEffect(() => {diff --git a/studio/src/styles/components.css b/studio/src/styles/components.cssindex 2ce85c28..416c7523 100644--- a/studio/src/styles/components.css+++ b/studio/src/styles/components.css@@ -757,6 +757,24 @@}}+/* Host for feedback portalled above native dialogs: full viewport, invisible and+ * transparent to pointer input, so each notice keeps its own positioning. */+.motion-feedback-layer {+ position: fixed;+ inset: 0;+ margin: 0;+ padding: 0;+ border: 0;+ width: 100%;+ height: 100%;+ max-width: none;+ max-height: none;+ background: transparent;+ overflow: visible;+ pointer-events: none;+ z-index: 2147483647;+}+/* Overlay/backdrop entrance — the heaviest visual changes shouldn't pop in */@keyframes hf-backdrop-in {from {