question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

umb-overlay inside umb-editor is hidden

See original GitHub issue

We’re using some “Nested Nested Content” inside Doc Type Grid Editor, this works fine until there is more than one Document Type configured on the Nested Content Data Type. In these cases a “umb-overlay” is shown so that the editor can pick which DocType to add, like this:

screen - nested content choose type

This works all fine, but when Nested Content is shown inside a EditorService-dialog, the umb-overlay will set it’s style to left:xxx px; so that it ends up outside the screen, this is how it looks when clicking “Add Content”

screen - nested in editor service

After removing the “left”-style from the umb-overlay the box shows again:

screen nested inside editorservice removed left

This issue is present only with “Doc Type Grid Editor” but also when for example configuring a “Multi Node Tree Picker” to have the “Open”-button. When opening an Node and trying to choose a DocType for Nested Content it looks like this:

screen - omb-overlay in editor service edit content

In other words, the umb-overlay is placed to much to the right so that the editor can’t choose a DocType. The issue is specially big when the editorService is opening a window that is of type “small”.

We’ve solved this with some CSS-hacks but I guess it would be good to come up with something in Core?

Our solution was to put any umb-overlays to the right using CSS like this but there might be better solutions =D

.umb-editors {
    .umb-overlay {
        left: inherit !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
    }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
enkelmediacommented, May 8, 2020

I’ve shared a “fix” that works for us here https://github.com/umbraco/Umbraco-CMS/issues/7918#issuecomment-625982546 and maybe it could be a starting point for something to ship in core.

0reactions
abjernercommented, May 6, 2020

@stefankip Yes and no.

It’s the same underlying problem, but my PR only fixes this for the grid overlay only, as it doesn’t fix the problem with the umb-overlay directive, but instead replaces the use of the directive with the newer overlayService.

I can’t really remember for sure whether the problem was also fixed generally for the umb-overlay directive. If not, it would be useful as it would fix the problem globally for the directive. And it may be a lot quicker than replacing all uses of umb-overlay with overlayService.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reuse media picker in plugin
I've created a plugin for the grid editor in Umbraco 7.7.7 and inside this ... gridBlock"> <div class="umb-editor-placeholder ng-scope" ...
Read more >
showing document type alias or name of selected node in ...
Unfortunately in this case it isn't enough to just override the view being sent to the ... CustomContentPickerController" class="umb-editor ...
Read more >
umbraco.directives.js
Shows a textbox/headline with a required validator within it's own form. ... <umb-editor-header; name="vm.content.name"; hide-alias="true" ...
Read more >
Umbraco | PDF | Hypertext | Cyberspace
/Umbraco/Views/components/editor/subheader/umb-editor-sub-header.html ... /Umbraco/Views/components/overlays/umb-overlay-backdrop.html
Read more >
UGardian - 108da4df4eaf10d3f77e172db2eebb8114bb9d75
108da4d June 2019 release, UGardian 1.1.19. Authored and Committed by rtarik 3 years ago. raw patch tree parent. 3502 files changed. 497764 lines...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found