Skip to content

bug(stackblitz samples demo): stackblitz URL invalid in regex, unable to view result #23895

Closed
@spasutto

Description

@spasutto

Reproduction

Open first Sidenav sample on stackblitz https://material.angular.io/components/sidenav/overview
The result view indicates "Please open on Stackblitz to see result"

Resolution

The Regex assigning "shouldRun" must be updated (cf sidenav-overview-example.ts) :

shouldRun = [/(^|\.)plnkr\.co$/, /(^|\.)stackblitz\.io$/].some(h => h.test(window.location.host));

Stackblitz domains includes stackblitz.com & webcontainer.io

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: material.angular.io

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions