Media modal not placing correctly on initial load

Created on 9 September 2021, almost 3 years ago
Updated 24 June 2023, about 1 year ago

Problem/Motivation

**Feature:** We have a Paragraph which allows the user to add entity references to content, videos, files as cards. Each of these cards is also a paragraph.

**Problem:** Much of the time (and always for the files interface), the modal window is placed negative thousands or hundreds of pixels too high for the user to interact with it. If the user clicks randomly on the screen, it will *sometimes* pop the modal down to where they can interact with it.

**What I have tried:** I have upgraded media_entity_browser, media_browser, and inline_entity_form as high as I can. I also figured maybe it was interacting poorly with the admin toolbar, so I disabled that module as well. Nothing seems to be working to ameliorate this issue. The console window and dblog seem to have no errors related to the events on the screen.

See screenshot.

Could it have to do with the entity reference fields being inside a paragraph that is also inside another paragraph? Why would this affect the placement of the iframe? Shouldn't it just be position:fixed?

πŸ› Bug report
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States loopy1492

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada Nathan Tsai

    Running into this problem too, instead, I'm using Inline Entity Form instead of paragraphs.

    (Also, it seems like the browser is just constantly loading. I don't know what the matter is here.)

Production build 0.69.0 2024