Skip to content

Commit 4a98440

Browse files
committed
MC-5423: Scheduled Update slide out issues
- Resolve IE 11 position issues
1 parent 0323e29 commit 4a98440

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_panel.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
visibility: hidden;
6161
width: 150px;
6262

63+
&.no-position-sticky {
64+
top: 0;
65+
}
66+
6367
&.visible {
6468
opacity: 1;
6569
visibility: visible;

app/code/Magento/PageBuilder/view/adminhtml/web/js/drag-drop/matrix.js

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/js/panel.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/drag-drop/matrix.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ export function getContainersFor(contentType: string): string[] {
4141
* @returns {string}
4242
*/
4343
export function getAllowedContainersClasses(contentType: string, stageId: string) {
44-
console.log(getContainersFor(contentType)
45-
.map((value) => `#${stageId} .content-type-container.${value}-container`).join(", "));
4644
return getContainersFor(contentType)
4745
.map((value) => `#${stageId} .content-type-container.${value}-container`).join(", ");
4846
}

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/panel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export default class Panel implements PanelInterface {
141141
const self = this;
142142
const pageActions = $(".page-actions");
143143
const panel = $(this.element);
144+
panel.addClass("no-position-sticky");
144145
const stage = panel.siblings(".pagebuilder-stage");
145146
$(window).scroll(function() {
146147
if (panel && panel.offset()) {

0 commit comments

Comments
 (0)