Skip to content

Commit

Permalink
Fix: reactstrap tooltips causing browser tab to freeze (#4922)
Browse files Browse the repository at this point in the history
Disables the `flip` modifier on the tooltip component, a temporary workaround for the bug in reactstrap.
  • Loading branch information
attfarhan committed Jul 17, 2019
1 parent 992aa56 commit 6fef4bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/src/components/tooltip/Tooltip.tsx
Expand Up @@ -67,6 +67,11 @@ export class Tooltip extends React.PureComponent<Props, State> {
isOpen={true}
target={this.state.subject}
placement="auto"
modifiers={{
flip: {
enabled: false,
},
}}
>
{this.state.content}
</BootstrapTooltip>
Expand Down

0 comments on commit 6fef4bf

Please sign in to comment.