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

Example of breaking PlmgButton component #53

Closed
wants to merge 2 commits into from
Closed

Conversation

JohannesAnd
Copy link
Contributor

Not meant as a PR, but a repro of an issue

The issue

  • Changing the text in PlmgButton breaks it

Investigation

  • Seems to be related to it not using shadow DOM
  • Relevant?

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Visit the preview URL for this PR (updated for commit ad45a5f):

https://test-auth-d13f2--pr53-buttonissue-rhkiixm0.web.app

(expires Wed, 22 Jun 2022 11:15:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@TanguyDucky
Copy link
Contributor

Oh man! That's a shame 🤦

Indead, changing the button to Shadow DOM fixes it.

Arguably the button does not really need a slot, a viable fix is to use a "text" property instead. (see commit ad45a5f)

@TanguyDucky
Copy link
Contributor

Thanks for the example, closing this issue in favor of the Asana task.

@TanguyDucky TanguyDucky deleted the buttonIssue branch June 24, 2022 08:56
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 this pull request may close these issues.

2 participants