core icon indicating copy to clipboard operation
core copied to clipboard

disabledTooltip does not show for disabled buttons

Open OksanaSam opened this issue 3 years ago • 3 comments

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>;

OksanaSam avatar Sep 29 '22 19:09 OksanaSam

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

dbatiste avatar Sep 29 '22 20:09 dbatiste

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';

OksanaSam avatar Sep 29 '22 20:09 OksanaSam

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).

dbatiste avatar Sep 29 '22 20:09 dbatiste