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

disabledTooltip does not show for disabled buttons #2880

Open
OksanaSam opened this issue Sep 29, 2022 · 3 comments
Open

disabledTooltip does not show for disabled buttons #2880

OksanaSam opened this issue Sep 29, 2022 · 3 comments

Comments

@OksanaSam
Copy link

OksanaSam commented Sep 29, 2022

Tried:
const button = html<d2l-button disabled disabledTooltip="string">My Button</d2l-button>;

Also tried disabled-tooltip from here: https://daylight.d2l.dev/components/button/#d2l-button :
const button = html<d2l-button disabled disabled-tooltip="string">My Button</d2l-button>;

@dbatiste
Copy link
Contributor

Hmmm... seems to work when I try it in both the core demo page as well as the Daylight demo page. 🤔

@OksanaSam
Copy link
Author

I'm using the CDN version, maybe this is what's causing the issue: import 'https://s.brightspace.com/lib/bsi/20.21.5-233/unbundled/button.js';

@dbatiste
Copy link
Contributor

The feature was introduced to core in v1.137.0, but the version of BSI you are referencing uses an earlier version of core (v1.128.0).

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