Skip to content

Commit

Permalink
refactor(core): Remove invalid <g> from HoverablePopover (spinnaker#5904
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Justin Reynolds authored and gcomstock committed Nov 30, 2018
1 parent a82a947 commit eb6eefc
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,12 @@ export class HoverablePopover extends React.Component<IHoverablePopoverProps, IH
);

return (
<g onMouseEnter={this.handleMouseEvent} onMouseLeave={this.handleMouseEvent} ref={this.refCallback}>
<div
style={{ display: 'inline' }}
onMouseEnter={this.handleMouseEvent}
onMouseLeave={this.handleMouseEvent}
ref={this.refCallback}
>
{this.props.children}
<Overlay
show={popoverIsOpen}
Expand All @@ -165,7 +170,7 @@ export class HoverablePopover extends React.Component<IHoverablePopoverProps, IH
{popoverContent}
</PopoverOffset>
</Overlay>
</g>
</div>
);
}
}
Expand Down

0 comments on commit eb6eefc

Please sign in to comment.