-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CC Express popup is partly overlapped by other elements #20
Comments
Currently, I am hiding the admin bar, setting its |
I reopened the issue, as I faced the same problem and it is probable that other developers will too Expected BehaviourThe Adobe CCE-Popup should be positioned at the very front, no elements should overlap the iFrame. Actual BehaviourThe Adobe CCE-iFrame is not at the very front. The We found a workaround by passing the following code to the callback-function
Even tough we found a workaround, it would be great to being able to pass styling-properties as params (e.g. z-index and position). Reproduce Scenario (including but not limited to)Steps to ReproduceExample: When using the code of the cc-everywhere/sample (Github): add When opening the Editor, it should look like this: Platform and VersionGoogle Chrome Version 110.0.5481.100 (Official Build) (64-bit) Sample Code that illustrates the problemsee above in Steps to Reproduce Logs taken while reproducing problemnone |
Thanks for reporting this problem. I'll pass this along to our team to investigate. In the future, please report any bugs here. |
Expected Behaviour
When opening the CC Express overlay to create a new asset, I expect the overlay not to be obstructed by other page elements, so that I can edit the CC Express project.
Actual Behaviour
When opening an overlay in the WordPress integration, the sidebar overlaps the CC Express overlay:
Since there is a custom
cc-everywhere-container
element, it is not possible to modify its contents using vanilla JavaScript, jQuery or CSS.Manually setting the
z-index
for the.cc-everywhere-root
element to9991
or higher in the Chrome developer console, brings the editor to the front. This is due to the fact, that the sidebar has az-index
of9990
:This modification cannot be made using client-side JavaScript or CSS, as stated above.
Depending on the underlying system, it would be great to have a callback – e.g.
onLoad
that passes back the HTML element where the component is mounted or the component itself, so that a developer can modify its appearance to match the website where the dialog is being shown.Furthermore, more customization options would be great - for example being able to set a max width or max height or specifying an element, where the component will be mounted in (in the case of a WordPress integration, this may be the
.wrap
element).Otherwise, since it is a popup, the overlay may have a very high
z-index
on its own.Reproduce Scenario (including but not limited to)
Will be delivered as soon as there is a working integration to host a public version of the plugin.
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Will be delivered as soon as there is a working integration to host a public version of the plugin.
Logs taken while reproducing problem
none
The text was updated successfully, but these errors were encountered: