Skip to content

With 0.23.5 a tooltip on disabled button won't disappear #890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amarant opened this issue Jun 25, 2015 · 3 comments
Closed

With 0.23.5 a tooltip on disabled button won't disappear #890

amarant opened this issue Jun 25, 2015 · 3 comments

Comments

@amarant
Copy link
Contributor

amarant commented Jun 25, 2015

Hi,
With 0.23.5 a tooltip on a disabled button won't disappear, this appears to follow the commit 2ffcf5d
An example usable on here

const positionerInstance = (
  <ButtonToolbar>
    <OverlayTrigger placement='right' overlay={<Tooltip><strong>Holy guacamole!</strong> Check this info.</Tooltip>}>
      <Button bsStyle='default' disabled>Holy guacamole!</Button>
    </OverlayTrigger>
  </ButtonToolbar>
);

React.render(positionerInstance, mountNode);

Thanks.

@jquense
Copy link
Member

jquense commented Jun 29, 2015

I am pretty sure this is a React bug, with their mouseEnter/Leave cross browser plugin. I will see if there is a reasonable workaround to fix it here, and submit an issue upstream.

@AlexKVal
Copy link
Member

It seems this bug has been fixed in version 0.23.7. ❇️
I can't reproduce it anymore on the docs page http://react-bootstrap.github.io/components.html#tooltips

Feel free to reopen if you still have the issue with v0.23.7
🍒

@jquense
Copy link
Member

jquense commented Aug 29, 2015

for posterity: facebook/react#4251 and #1254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants