Skip to content
Snippets Groups Projects
Commit f4790596 authored by KDSBrowne's avatar KDSBrowne
Browse files

remove tooltip for active buttons

parent 089dd792
No related branches found
No related tags found
No related merge requests found
......@@ -118,11 +118,12 @@ export default class Button extends BaseButton {
hideLabel,
label,
'aria-label': ariaLabel,
'aria-expanded': ariaExpanded,
} = this.props;
const renderFuncName = circle ? 'renderCircle' : 'renderDefault';
if (hideLabel) {
if (hideLabel && !ariaExpanded) {
const tooltipLabel = label || ariaLabel;
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment