@@ -96,6 +96,7 @@ export function getArrowPositionStyles({
96
96
right : arrowPlacement ,
97
97
borderLeftColor : 'transparent' ,
98
98
borderBottomColor : 'transparent' ,
99
+ clipPath : 'polygon(100% 0, 0 0, 100% 100%)' ,
99
100
} ;
100
101
}
101
102
@@ -106,6 +107,7 @@ export function getArrowPositionStyles({
106
107
left : arrowPlacement ,
107
108
borderRightColor : 'transparent' ,
108
109
borderTopColor : 'transparent' ,
110
+ clipPath : 'polygon(0 100%, 0 0, 100% 100%)' ,
109
111
} ;
110
112
}
111
113
@@ -116,6 +118,7 @@ export function getArrowPositionStyles({
116
118
bottom : arrowPlacement ,
117
119
borderTopColor : 'transparent' ,
118
120
borderLeftColor : 'transparent' ,
121
+ clipPath : 'polygon(0 100%, 100% 100%, 100% 0)' ,
119
122
} ;
120
123
}
121
124
@@ -126,6 +129,7 @@ export function getArrowPositionStyles({
126
129
top : arrowPlacement ,
127
130
borderBottomColor : 'transparent' ,
128
131
borderRightColor : 'transparent' ,
132
+ clipPath : 'polygon(0 100%, 0 0, 100% 0)' ,
129
133
} ;
130
134
}
131
135
0 commit comments