Skip to content

Commit d3cb379

Browse files
authored
Merge branch 'main' into xsalonx/filtering/O2B-1348/by-each-detector
2 parents 059edc4 + 19367e5 commit d3cb379

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/public/components/common/popover/overflowBalloon.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ export const overflowBalloon = (content, options = null) => {
6868
},
6969

7070
/**
71-
* Lifecycle method called when the component is created
72-
* @returns {void}
71+
* States whether popover is visible
72+
*
73+
* @returns {boolean} true if visible, false otherwise
7374
*/
7475
showCondition: function () {
75-
doesElementOverflow(this.triggerNode.querySelector('.w-wrapped'));
76+
return doesElementOverflow(this.triggerNode.querySelector('.w-wrapped'));
7677
},
7778
},
7879
);

0 commit comments

Comments
 (0)