Skip to content
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

Clickable option on the demo doesn't work #499

Closed
chulanovskyi opened this issue Jun 25, 2019 · 5 comments
Closed

Clickable option on the demo doesn't work #499

chulanovskyi opened this issue Jun 25, 2019 · 5 comments

Comments

@chulanovskyi
Copy link

chulanovskyi commented Jun 25, 2019

At the very bottom of the demo site there is a section with a clickable prop example, but - the problem is described in the title. When I try to type something into the input - it doesn't react on any event, clicking, typing...

image

OS: 18.04.2 LTS
Tested browsers:

  • Chrome Version 75.0.3770.100 (Official Build) (64-bit)
  • Firefox 67.0.4 (64-bit)
@aronhelser
Copy link
Collaborator

aronhelser commented Jun 25, 2019 via email

@chulanovskyi
Copy link
Author

chulanovskyi commented Jun 25, 2019

Tested on mobile (chrome) - still not working. Will check later from the desktop...

Update:
@aronhelser tested on desktop (Windows, Chrome) - nope, doesn't work...

@tihuan
Copy link
Contributor

tihuan commented Jul 16, 2019

It looks like the example site's index.js response doesn't have .__react_component_tooltip.allow_click css rule. Possibly because standalone/react-tooltip.js doesn't have that rule?

E.g.,

https://github.com/wwayne/react-tooltip/blob/master/standalone/react-tooltip.js

For allow_hover, there's __react_component_tooltip.allow_hover{pointer-events:auto}, so I for allow_click, was expecting to see __react_component_tooltip.allow_click{pointer-events:auto} there as well?

Could this be the root cause?

Thanks!

@aronhelser

Context Issue: #417 (comment)

@mawburn
Copy link

mawburn commented Sep 25, 2019

Any updates on this? It seems like it extends into the library itself and setting the clickable option doesn't do anything.

@roggervalf
Copy link
Contributor

Hi @chulanovskyi, already fixed in the new release, let me know if it works for you.

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

No branches or pull requests

5 participants