Skip to content

Commit

Permalink
fix(TMC-29525): inlineedit tooltip position on subheader
Browse files Browse the repository at this point in the history
  • Loading branch information
Gbacc committed Aug 21, 2024
1 parent 2fdd74c commit 31cc0db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-peas-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/design-system': patch
---

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
Expand Up @@ -267,6 +267,7 @@ const InlineEditingPrimitive = forwardRef(
data-test={`${dataTest ? `${dataTest}.` : ''}inlineediting.button.cancel`}
data-testid={`${dataTestId ? `${dataTestId}.` : ''}inlineediting.button.cancel`}
size="XS"
tooltipPlacement="bottom"
>
{t('INLINE_EDITING_CANCEL', 'Cancel')}
</ButtonIcon>
Expand All @@ -277,6 +278,7 @@ const InlineEditingPrimitive = forwardRef(
data-testid={`${dataTestId ? `${dataTestId}.` : ''}inlineediting.button.submit`}
{...getDataAttrFromProps(rest)}
size="XS"
tooltipPlacement="bottom"
>
{t('INLINE_EDITING_SUBMIT', 'Submit')}
</ButtonIcon>
Expand Down Expand Up @@ -305,6 +307,7 @@ const InlineEditingPrimitive = forwardRef(
icon="pencil"
disabled={loading}
size="XS"
tooltipPlacement="bottom"
>
{t('INLINE_EDITING_EDIT', 'Edit')}
</ButtonIcon>
Expand Down

0 comments on commit 31cc0db

Please sign in to comment.