Views: 770
Number of votes: 3
Average rating:

Making drag and drop pages/media work with the IList

Here at Redweb, we are currently building a new site for a client with lots of content population. For one of our gallery solutions we decide to utilize an IList as we have used many times before without issue.

Problem: Our Qualtity Assurance guy raised that the ability to drag and drop images is broken when using this.

We invesitgated and the small issue was that the IList throws up the usual FED popup favourite of adding an overlay on the page. 

Image dialog-before.png

Therefore we chose to override this. We added to our editor stylesheet used in the CMS

.dijitDialogUnderlayWrapper {
    position: relative;
}

This then forced the wrapper not to be absolute over the screen anymore, hence 

Image dialog-after.png

We now have this fixed. The only downer is it allows the editor to use the underlying UI but this is not a big issue to us. Hopefully the new changes to the UI for improved drag/drop will have fix this.

Mar 27, 2018

valdis
( By valdis, 3/27/2018 5:24:53 PM)

hahaa.. neat! :)

( 3/28/2018 2:40:53 PM)

Nice. Having drag and drop in the IList should be a default behavior

( 3/28/2018 3:19:08 PM)

Yeah it's something so small and hacky but it makes a lot of difference to content population

K Khan
( By K Khan, 3/30/2018 11:17:55 AM)

Thanks for sharing :)

Please login to comment.