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

[Bug]: Not able to use Web Components V3 with stand-alone script #28110

Closed
2 tasks done
vnbaaij opened this issue Jun 2, 2023 · 4 comments
Closed
2 tasks done

[Bug]: Not able to use Web Components V3 with stand-alone script #28110

vnbaaij opened this issue Jun 2, 2023 · 4 comments
Assignees
Labels
Resolution: Soft Close Soft closing inactive issues over a certain period Type: Bug 🐛 web-components

Comments

@vnbaaij
Copy link
Contributor

vnbaaij commented Jun 2, 2023

Library

Web Components (@fluentui/web-components)

System Info

na

Are you reporting Accessibility issue?

None

Reproduction

Working example with V2: https://codesandbox.io/s/boring-bardeen-sggue7?file=/index.html
Not working example with V3: https://codesandbox.io/s/snowy-waterfall-nb6fz1?file=/index.html
(code for component call copied from https://web-components.fluentui.dev/?path=/docs/components-button-compound-button--button)

Bug Description

I'm trying to use the Web Components V3 from a Blazor application and from a simple HTML page. With V2 I could just include a link to the web-components.js/web-components.min.js and it just worked. With the V3 script I'm getting an error when including the script.
In Blazor:
image

In HTML:
image (1)

Screenshot of minimal repo:
image

This is caused by the script referencing @microsoft/fast-element/utilities in the first line

Expected Behavior

I can use the V3 components by including a single script file in my HTML (or Blazor) source.

Logs

No response

Requested priority

Blocking

Products/sites affected

Fluent UI Blazor components library vNext

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Resolution: Soft Close Soft closing inactive issues over a certain period label Nov 2, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in @fluentui Web Components Nov 2, 2023
@JustSlone JustSlone reopened this Nov 11, 2023

Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes.
Still require assistance? Please add comment - "keep open".

Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons.

Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Soft Close Soft closing inactive issues over a certain period Type: Bug 🐛 web-components
Projects
Status: Done
Development

No branches or pull requests

5 participants