Skip to content

Commit

Permalink
fix: primefaces#6680, Tooltip: Escape key not dismissing tooltip (WCA…
Browse files Browse the repository at this point in the history
…G 2.1 1.4.13)
  • Loading branch information
ANTONA09 committed May 27, 2024
1 parent 68a69dc commit fa5bc50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/tooltip/TooltipBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const TooltipBase = ComponentBase.extend({
autoZIndex: true,
baseZIndex: 0,
className: null,
closeOnEscape: true,
closeOnEscape: false,
content: null,
disabled: false,
event: null,
Expand Down
2 changes: 1 addition & 1 deletion components/lib/tooltip/tooltipoptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface TooltipOptions {
className?: string | undefined;
/**
* Specifies if pressing escape key should hide the tooltip.
* @defaultValue true
* @defaultValue false
*/
closeOnEscape?: boolean | undefined;
/**
Expand Down

0 comments on commit fa5bc50

Please sign in to comment.