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

tooltips don't show when button is disabled #6502

Open
pjebs opened this issue Jan 11, 2020 · 2 comments
Open

tooltips don't show when button is disabled #6502

pjebs opened this issue Jan 11, 2020 · 2 comments

Comments

@pjebs
Copy link

pjebs commented Jan 11, 2020

It would be nice if there was an option to show tooltips even if the element is disabled.

@pjebs
Copy link
Author

pjebs commented Jan 11, 2020

@acburst Is there a workaround I can do to make the button at least look disabled?

@SprouterB
Copy link

SprouterB commented Jan 30, 2020

I've made this by wrapping the button inside an <a> . Not the cleanest solution but it works.

<a class="disabled-tooltip-wrapper tooltipped right" data-position="top" data-tooltip="You can't add this yet">
  <button class="btn waves-effect waves-light disabled right">
    <span>Add</span>
    <i class="material-icons left">add</i>
  </button>
</a>

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

2 participants