Skip to content

Commit

Permalink
Fix regression on tooltip and fix split panel alignment issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Oct 27, 2023
1 parent 7b7602b commit 708f5b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,11 @@ public Tooltip(Element target, Node content) {
};
addEventListener("click", closeListener);
targetElement.addEventListener(EventType.mouseenter.getName(), showListener, false);
// targetElement.addEventListener(EventType.mouseleave.getName(), closeListener, false);
targetElement.addEventListener(EventType.mouseleave.getName(), closeListener, false);
removeHandler =
tooltip -> {
targetElement.removeEventListener(EventType.mouseenter.getName(), showListener);
// targetElement.removeEventListener(EventType.mouseleave.getName(),
// closeListener);
targetElement.removeEventListener(EventType.mouseleave.getName(), closeListener);
};
setCollapseStrategy(
new AnimationCollapseStrategy(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
.dui-split-layout {
overflow: hidden;
display: flex;
}
.dui-split-layout.dui-horizontal {
--dui-split-layout-splitter-width:var(--dui-split-layout-splitter-size);
--dui-split-layout-splitter-height:100%;
--dui-split-layout-splitter-cursor:col-resize
--dui-split-layout-splitter-cursor:col-resize;
flex-direction: row;
}
.dui-split-layout.dui-vertical {
--dui-split-layout-splitter-width:100%;
--dui-split-layout-splitter-height:var(--dui-split-layout-splitter-size);
--dui-split-layout-splitter-cursor:row-resize
--dui-split-layout-splitter-cursor:row-resize;
flex-direction: column;
}

.dui-horizontal .dui-split-panel {
Expand All @@ -28,9 +31,6 @@
-ms-user-select: none;
}

.dui-split-layout{
display: block;
}
.dui-horizontal .dui-split-panel,
.dui-horizontal .dui-split-layout-splitter {
display: inline-block;
Expand Down

0 comments on commit 708f5b6

Please sign in to comment.