Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState
downloadButtonToolTipText: 'Download',
copyButtonSuccessTooltipText: 'Content added to clipboard',
toolTipCopyExitDelay: 1600,
toolTipDelay: 100,
toolTipDelay: 300,
toolTipMaxWidth: '100px',
toolTipPosition: 'top',
customControls: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const CodeEditorControl: React.FunctionComponent<CodeEditorControlProps>
className,
'aria-label': ariaLabel,
toolTipText,
exitDelay = 100,
entryDelay = 100,
exitDelay = 0,
entryDelay = 300,
maxWidth = '100px',
position = 'top',
onClick = () => {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class ClipboardCopy extends React.Component<ClipboardCopyProps, Clipboard
position: TooltipPosition.top,
maxWidth: '150px',
exitDelay: 1600,
entryDelay: 100,
entryDelay: 300,
switchDelay: 2000,
onCopy: clipboardCopyFunc,
onChange: (): any => undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export interface ClipboardCopyButtonProps

export const ClipboardCopyButton: React.FunctionComponent<ClipboardCopyButtonProps> = ({
onClick,
exitDelay = 100,
entryDelay = 100,
exitDelay = 0,
entryDelay = 300,
maxWidth = '100px',
position = 'top',
'aria-label': ariaLabel = 'Copyable input',
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const Tooltip: React.FunctionComponent<TooltipProps> = ({
isContentLeftAligned = false,
enableFlip = true,
className = '',
entryDelay = 0,
entryDelay = 300,
exitDelay = 0,
appendTo = () => document.body,
zIndex = 9999,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ import OutlinedQuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/ou
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam id feugiat augue, nec fringilla turpis.</div>
}
>
<span aria-label="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam id feugiat augue, nec fringilla turpis." tabIndex="0">
<OutlinedQuestionCircleIcon />
</span>
<OutlinedQuestionCircleIcon title="An icon with a tooltip" />
</Tooltip>
</div>
```
Expand Down
2 changes: 1 addition & 1 deletion packages/react-table/src/components/Table/TableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const TableText: React.FunctionComponent<TableTextProps> = ({
variant = 'span',
wrapModifier = null,
tooltip: tooltipProp = '',
tooltipProps = { entryDelay: 1000 },
tooltipProps = {},
onMouseEnter: onMouseEnterProp = () => {},
...props
}: TableTextProps) => {
Expand Down