File tree 2 files changed +8
-0
lines changed
packages/design-system/src/components/InlineEditing/Primitives
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @talend/design-system ' : patch
3
+ ---
4
+
5
+ fix: Change InlineEdit tooltip position on buttons to prevent z-index issues depending on implementation
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ const InlineEditingPrimitive = forwardRef(
267
267
data-test = { `${ dataTest ? `${ dataTest } .` : '' } inlineediting.button.cancel` }
268
268
data-testid = { `${ dataTestId ? `${ dataTestId } .` : '' } inlineediting.button.cancel` }
269
269
size = "XS"
270
+ tooltipPlacement = "bottom"
270
271
>
271
272
{ t ( 'INLINE_EDITING_CANCEL' , 'Cancel' ) }
272
273
</ ButtonIcon >
@@ -277,6 +278,7 @@ const InlineEditingPrimitive = forwardRef(
277
278
data-testid = { `${ dataTestId ? `${ dataTestId } .` : '' } inlineediting.button.submit` }
278
279
{ ...getDataAttrFromProps ( rest ) }
279
280
size = "XS"
281
+ tooltipPlacement = "bottom"
280
282
>
281
283
{ t ( 'INLINE_EDITING_SUBMIT' , 'Submit' ) }
282
284
</ ButtonIcon >
@@ -305,6 +307,7 @@ const InlineEditingPrimitive = forwardRef(
305
307
icon = "pencil"
306
308
disabled = { loading }
307
309
size = "XS"
310
+ tooltipPlacement = "bottom"
308
311
>
309
312
{ t ( 'INLINE_EDITING_EDIT' , 'Edit' ) }
310
313
</ ButtonIcon >
You can’t perform that action at this time.
0 commit comments