U4-10966 - Single/Multiple Media Picker is messed up when dragging images

Created by Bjarne Fyrstenborg 12 Feb 2018, 19:25:20 Updated by Sebastiaan Janssen 26 Feb 2018, 17:01:02

Tags: PR

Subtask of: U4-9609

When Media Picker (v2) is configurated to only allow a single item, it show a small empty

  • element (wrapper for "add" button). I can then drag this item to the left and I get an "empty" image. I still have the "empty"
  • wrapper for the "add" button on the right. each time I drag the "empty" wrapper to the left I get a new "empty" image placeholder.

    Also when allowing multiple items this issue happens.

    It seems to be related to the additional changes added to my PR https://github.com/umbraco/Umbraco-CMS/pull/2308 where the "add" button is moved inside the unordered list as a list item.

    It is especially visible inside Nested Content because of the grey background Nested Content has.

    5 Attachments

    Comments

    Bjarne Fyrstenborg 12 Feb 2018, 20:06:24

    PR: https://github.com/umbraco/Umbraco-CMS/pull/2445


    Robert Copilau 23 Feb 2018, 13:31:07

    Tested and it fixes the issue, thanks for that @Bjarne.Fyrstenborg :D. Merged!


  • Priority: Normal

    Type: Cosmetics

    State: Fixed

    Assignee:

    Difficulty: Normal

    Category:

    Backwards Compatible: True

    Fix Submitted: Pull request

    Affected versions: 7.9.0, 7.7.11, 7.8.1, 7.7.12

    Due in version: 7.9.0, 7.7.13

    Sprint: Sprint 79

    Story Points: 1

    Cycle: 8