material-web icon indicating copy to clipboard operation
material-web copied to clipboard

click() on an href icon-button has no effect.

Open vdegenne opened this issue 1 year ago • 0 comments

What is affected?

Component

Description

Using .click() programmatically on a <md-icon-button> (and variants) doesn't open the link referenced by the href attribute.

Comparatively, this behavior works on <md-text-button> (and variants)

Reproduction

https://lit.dev/playground/#gist=6d9560e7ff4fdcfaefd559de9f12349a

Workaround

workaround not found yet.

Is this a regression?

No or unsure. This never worked, or I haven't tried before.

Affected versions

1.3.0

Browser/OS/Node environment

everywhere

vdegenne avatar Mar 18 '24 10:03 vdegenne