fix: allow dropping in the Media manager without waiting for the .med… - #19
Conversation
…ia-frame-uploader to engage
WalkthroughThe drop-zone drag-and-drop validation logic was expanded to support a secondary fallback region. When the drop target is not within the primary Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free 📒 Files selected for processing (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
…ia-frame-uploader to engage
fixes #3
Issue: When dropping a media without waiting for the
.media-frame-uploaderto engage (quickly dropping without waiting for the blue drop indicator), the target becomes the HTML element where the drop happened. This fix uses a fallback to allow dropping inside the Media Manager modal.