Scott Reed
Mar 27, 2018
  1709
(4 votes)

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

Comments

valdis
valdis Mar 27, 2018 05:24 PM

hahaa.. neat! :)

Mar 28, 2018 02:40 PM

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

Mar 28, 2018 03:19 PM

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

K Khan
K Khan Mar 30, 2018 11:17 AM

Thanks for sharing :)

Please login to comment.
Latest blogs
Optimizely CMS and weekly updates

Learn how reporting bugs in Optimizely CMS not only helps improve the platform but also benefits you and the entire user community.

Tomas Hensrud Gulla | Sep 12, 2024 | Syndicated blog

Introduce the ablility to select then delete items manually on FIND UI

In FIND 16.3.0 we introduce an ability to select items and delete them manually, it will helps you to delete unexpected items from the UI without a...

Manh Nguyen | Sep 12, 2024

The composable consulting model our industry needs

The architecture of a modern consulting business is ‘composable’. Certainly, we think of ourselves a composable consulting business and have done...

Mark Everard | Sep 12, 2024 | Syndicated blog

Keynote Summary from Opticon 2024, Stockholm

At Opticon in Stockholm, marking the 30th anniversary of Optimizely, the company celebrated significant achievements. These included surpassing $40...

Luc Gosso (MVP) | Sep 11, 2024 | Syndicated blog