Skip to content

Commit d7d8a29

Browse files
committed
fix flex space item
1 parent e718d13 commit d7d8a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/webcomponents/overflow-menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ window.customElements.define('overflow-menu', class extends HTMLElement {
6464

6565
// move items in tippy back into the menu items for subsequent measurement
6666
for (const item of this.tippyItems || []) {
67-
if (item.getAttribute('data-after-flex-space')) {
67+
if (!itemFlexSpace || item.getAttribute('data-after-flex-space')) {
6868
this.menuItemsEl.append(item);
6969
} else {
7070
itemFlexSpace.insertAdjacentElement('beforebegin', item);

0 commit comments

Comments
 (0)