?
avatar ciar4n
ciar4n
23 Aug 2016

If using a media field type within a repeatable subform there is an issue with the background overlay of the media lightbox once the number of new subforms extends beyond the viewport. The background overlay of the media field lightbox does not extend to the full height of the screen

Subform code example...

<?xml version="1.0" encoding="UTF-8"?>
<form>
    <fieldset name="images" class="image-subform">
        <field name="j51_image" type="media" default="" label="MOD_J51_IMAGE"  description="MOD_J51_IMAGE_DESC" size="30" />
        <field name="j51_text" type="textarea" filter="raw" rows="4" cols="42" default="" label="MOD_J51_IMAGETEXT" description="MOD_J51_IMAGETEXT_DESC" />
    </fieldset>
</form>
  1. Continue to add subforms until the page height is increased
  2. Click 'Select' on the media field of the last subform

Result

screen shot 2016-08-23 at 05 28 08

Backgound overlay does not extend to the full height of the screen.

System information

Joomla 3.6.2

avatar ciar4n ciar4n - open - 23 Aug 2016
avatar ciar4n
ciar4n - comment - 23 Aug 2016

Possible CSS fix....

#sbox-overlay {
    position: fixed;
}

```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/11755">issues.joomla.org/joomla-cms/11755</a>.</sub>
avatar C-Lodder
C-Lodder - comment - 23 Aug 2016

Yes, this works. Please submit a PR for it

avatar zero-24
zero-24 - comment - 23 Aug 2016

If you don't know how pull requests works please have a look here: https://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests

avatar brianteeman
brianteeman - comment - 23 Aug 2016

Closed as we have a pr for testing see #11760

avatar brianteeman brianteeman - close - 23 Aug 2016

Add a Comment

Login with GitHub to post a comment