@@ -115,7 +115,7 @@ export const PopoverArrowBoundaryOffsetExample = {
115
115
max : 100
116
116
}
117
117
}
118
- } ,
118
+ } ,
119
119
render : ( { topLeft, topRight, leftTop, leftBotton, rightTop, rightBottom, bottomLeft, bottomRight} : any ) => {
120
120
return (
121
121
< div style = { { display : 'flex' , flexDirection : 'column' } } >
@@ -125,6 +125,7 @@ export const PopoverArrowBoundaryOffsetExample = {
125
125
< Button style = { { width : 200 , height : 100 } } > Top left</ Button >
126
126
< Popover
127
127
placement = "top left"
128
+ shouldFlip = { false }
128
129
arrowBoundaryOffset = { topLeft }
129
130
style = { {
130
131
background : 'Canvas' ,
@@ -136,7 +137,7 @@ export const PopoverArrowBoundaryOffsetExample = {
136
137
} } >
137
138
< OverlayArrow style = { { display : 'flex' } } >
138
139
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' } } >
139
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
140
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
140
141
</ svg >
141
142
</ OverlayArrow >
142
143
< Dialog style = { { outline : 'none' } } >
@@ -150,6 +151,7 @@ export const PopoverArrowBoundaryOffsetExample = {
150
151
< Button style = { { width : 200 , height : 100 } } > Top right</ Button >
151
152
< Popover
152
153
placement = "top right"
154
+ shouldFlip = { false }
153
155
arrowBoundaryOffset = { topRight }
154
156
style = { {
155
157
background : 'Canvas' ,
@@ -161,7 +163,7 @@ export const PopoverArrowBoundaryOffsetExample = {
161
163
} } >
162
164
< OverlayArrow style = { { display : 'flex' } } >
163
165
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' } } >
164
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
166
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
165
167
</ svg >
166
168
</ OverlayArrow >
167
169
< Dialog style = { { outline : 'none' } } >
@@ -177,6 +179,7 @@ export const PopoverArrowBoundaryOffsetExample = {
177
179
< Button style = { { width : 200 , height : 100 } } > Left top</ Button >
178
180
< Popover
179
181
placement = "left top"
182
+ shouldFlip = { false }
180
183
arrowBoundaryOffset = { leftTop }
181
184
style = { {
182
185
background : 'Canvas' ,
@@ -188,7 +191,7 @@ export const PopoverArrowBoundaryOffsetExample = {
188
191
} } >
189
192
< OverlayArrow style = { { display : 'flex' } } >
190
193
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(-90deg)' } } >
191
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
194
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
192
195
</ svg >
193
196
</ OverlayArrow >
194
197
< Dialog style = { { outline : 'none' } } >
@@ -202,6 +205,7 @@ export const PopoverArrowBoundaryOffsetExample = {
202
205
< Button style = { { width : 200 , height : 100 } } > Left bottom</ Button >
203
206
< Popover
204
207
placement = "left bottom"
208
+ shouldFlip = { false }
205
209
arrowBoundaryOffset = { leftBotton }
206
210
style = { {
207
211
background : 'Canvas' ,
@@ -213,7 +217,7 @@ export const PopoverArrowBoundaryOffsetExample = {
213
217
} } >
214
218
< OverlayArrow style = { { display : 'flex' } } >
215
219
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(-90deg)' } } >
216
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
220
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
217
221
</ svg >
218
222
</ OverlayArrow >
219
223
< Dialog style = { { outline : 'none' } } >
@@ -229,6 +233,7 @@ export const PopoverArrowBoundaryOffsetExample = {
229
233
< Button style = { { width : 200 , height : 100 } } > Right top</ Button >
230
234
< Popover
231
235
placement = "right top"
236
+ shouldFlip = { false }
232
237
arrowBoundaryOffset = { rightTop }
233
238
style = { {
234
239
background : 'Canvas' ,
@@ -240,7 +245,7 @@ export const PopoverArrowBoundaryOffsetExample = {
240
245
} } >
241
246
< OverlayArrow style = { { display : 'flex' } } >
242
247
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(90deg)' } } >
243
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
248
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
244
249
</ svg >
245
250
</ OverlayArrow >
246
251
< Dialog style = { { outline : 'none' } } >
@@ -254,6 +259,7 @@ export const PopoverArrowBoundaryOffsetExample = {
254
259
< Button style = { { width : 200 , height : 100 } } > Right bottom</ Button >
255
260
< Popover
256
261
placement = "right bottom"
262
+ shouldFlip = { false }
257
263
arrowBoundaryOffset = { rightBottom }
258
264
style = { {
259
265
background : 'Canvas' ,
@@ -265,7 +271,7 @@ export const PopoverArrowBoundaryOffsetExample = {
265
271
} } >
266
272
< OverlayArrow style = { { display : 'flex' } } >
267
273
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(90deg)' } } >
268
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
274
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
269
275
</ svg >
270
276
</ OverlayArrow >
271
277
< Dialog style = { { outline : 'none' } } >
@@ -281,6 +287,7 @@ export const PopoverArrowBoundaryOffsetExample = {
281
287
< Button style = { { width : 200 , height : 100 } } > Bottom left</ Button >
282
288
< Popover
283
289
placement = "bottom left"
290
+ shouldFlip = { false }
284
291
arrowBoundaryOffset = { bottomLeft }
285
292
style = { {
286
293
background : 'Canvas' ,
@@ -292,7 +299,7 @@ export const PopoverArrowBoundaryOffsetExample = {
292
299
} } >
293
300
< OverlayArrow style = { { display : 'flex' } } >
294
301
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(180deg)' } } >
295
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
302
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
296
303
</ svg >
297
304
</ OverlayArrow >
298
305
< Dialog style = { { outline : 'none' } } >
@@ -306,6 +313,7 @@ export const PopoverArrowBoundaryOffsetExample = {
306
313
< Button style = { { width : 200 , height : 100 } } > Bottom right</ Button >
307
314
< Popover
308
315
placement = "bottom right"
316
+ shouldFlip = { false }
309
317
arrowBoundaryOffset = { bottomRight }
310
318
style = { {
311
319
background : 'Canvas' ,
@@ -317,7 +325,7 @@ export const PopoverArrowBoundaryOffsetExample = {
317
325
} } >
318
326
< OverlayArrow style = { { display : 'flex' } } >
319
327
< svg width = "12" height = "12" viewBox = "0 0 12 12" style = { { display : 'block' , transform : 'rotate(180deg)' } } >
320
- < path d = "M0 0,L6 6,L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
328
+ < path d = "M0 0L6 6L12 0" fill = "white" strokeWidth = { 1 } stroke = "gray" />
321
329
</ svg >
322
330
</ OverlayArrow >
323
331
< Dialog style = { { outline : 'none' } } >
0 commit comments