Skip to content

Commit 9c997fe

Browse files
georgimkvilhan007
authored andcommitted
fix(ui5-responsive-popover): fixed position of downward pointing arrow (#3508)
ResponsivePopover resets the custom property `_ui5_popup_content_padding` as it is used by other components. The calculation for the position of the arrow depended on the padding, and the calculation will be wrong when the padding is set to "0". Solved by changing the positioning of the arrow by using `top`. Fixes #3500
1 parent 4b25668 commit 9c997fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/main/test/pages/ResponsivePopover.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ <h2> Inputs based component that opens popover/dialog within dialog</h2>
136136
btnRpTopWithArrow.addEventListener("click", function(event) {
137137
rpTopWithArrow.open(btnRpTopWithArrow);
138138
});
139+
140+
btnRpTopWithArrow.addEventListener("click", function(event) {
141+
rpTopWithArrow.openBy(btnRpTopWithArrow);
142+
});
139143
</script>
140144
</body>
141145
</html>

0 commit comments

Comments
 (0)