Skip to content

Commit 7a85fd1

Browse files
committed
Add x-arrow attribute to popover arrow element so PopperJS will apply the right styling
1 parent 49aa120 commit 7a85fd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/clipperUI/components/popover.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class PopoverClass extends ComponentBase<{}, PopoverProps> {
7171
for (let i = 0; i < this.props.arrowClassNames.length; i++) {
7272
arrowElement.classList.add(this.props.arrowClassNames[i]);
7373
}
74+
arrowElement.setAttribute("x-arrow", "");
7475
popperElement.appendChild(arrowElement);
7576
}
7677

0 commit comments

Comments
 (0)