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

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

Open
vdegenne opened this issue Mar 18, 2024 · 0 comments · May be fixed by #5533
Open

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

vdegenne opened this issue Mar 18, 2024 · 0 comments · May be fixed by #5533

Comments

@vdegenne
Copy link
Contributor

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 vdegenne linked a pull request Mar 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant