Skip to content

Commit ba6d8af

Browse files
committed
MC-4294: Cannot Activate Tab Item After Moving Tabs or Slider to New Parent Container
Unwrap div to get moveContentTypeToContainer's selectors to pass for tabs content type
1 parent 43ba564 commit ba6d8af

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/tabs/default

1 file changed

+1
-3
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/tabs/default/preview.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
-->
77

88
<div class="pagebuilder-content-type pagebuilder-tabs children-min-height" attr="data.main.attributes" ko-style="data.main.style" css="data.main.css" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
9-
<div visible="focusedTab() === null">
10-
<render args="getOptions().template" />
11-
</div>
9+
<render args="getOptions().template" visible="focusedTab() === null" />
1210
<div class="tabs-container" afterRender="function (element) { onContainerRender.call(this, element); }">
1311
<ul role="tablist" class="tabs-navigation" each="parent.getChildren()" attr="data.navigation.attributes" ko-style="data.navigation.style" css="data.navigation.css" data-bind="sortableChildren: getSortableOptions()">
1412
<with args="preview">

0 commit comments

Comments
 (0)