Skip to content

Commit

Permalink
fix(inline-editable): use native tooltips for controls. #10536
Browse files Browse the repository at this point in the history
  • Loading branch information
driskull committed Oct 14, 2024
1 parent ecff629 commit f622c2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"enableEditing": "Click to edit",
"enableEditing": "Edit",
"cancelEditing": "Cancel",
"confirmChanges": "Save"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"enableEditing": "Click to edit",
"enableEditing": "Edit",
"cancelEditing": "Cancel",
"confirmChanges": "Save"
}
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export class InlineEditable
opacity: this.editingEnabled ? "0" : "1",
width: this.editingEnabled ? "0" : "inherit",
}}
title={this.messages.enableEditing}
type="button"
/>
{this.shouldShowControls && [
Expand All @@ -190,6 +191,7 @@ export class InlineEditable
onClick={this.cancelEditingHandler}
ref={(el) => (this.cancelEditingButton = el)}
scale={this.scale}
title={this.messages.cancelEditing}
type="button"
/>
</div>,
Expand All @@ -204,6 +206,7 @@ export class InlineEditable
onClick={this.confirmChangesHandler}
ref={(el) => (this.confirmEditingButton = el)}
scale={this.scale}
title={this.messages.confirmChanges}
type="button"
/>,
]}
Expand Down

0 comments on commit f622c2d

Please sign in to comment.