You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uiNode option was added for a specific use case in DXP where the editor was occasionally rendered in a modal window (that contained an iframe) and is only used to set the scrollTop position of certain elements.
If you want to modify this, feel free to send a fix.
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
If
uiNode
hasposition
set to something other thanstatic
and has amargin-top
style set, theadd
toolbar is positioned in the wrong place.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Wrap the body content with a
div
with amargin-top
and the default value forposition
set.Update the Alloy Editor configuration so that the
uiNode
is set to this wrappingdiv
.Refresh the page. Click anywhere in an editor and observe that the add toolbar is still in the correct position.
Update the wrapper
div
so that it has a non-default position:Refresh the page. Click anywhere in an editor and observe that the add toolbar is in the wrong position.
What is the expected behavior?
The add toolbar is in the same position as if it were
position: static
.Which versions of alloy-editor, and which browser / OS are affected by this issue? Did this work in previous versions?
Tested in Chrome.
The text was updated successfully, but these errors were encountered: