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

Doesn't work with custom html tags #27

Open
tbunique opened this issue Dec 28, 2018 · 0 comments
Open

Doesn't work with custom html tags #27

tbunique opened this issue Dec 28, 2018 · 0 comments

Comments

@tbunique
Copy link

Just installed the extension but apparently it doesn't work with custom html tags (or maybe the cause is elsewhere).

<mat-expansion-panel>
    <mat-expansion-panel-header>
        <mat-panel-title> Language </mat-panel-title>
    </mat-expansion-panel-header>

    <p>
       blablabla
    </p>

    <div>
        <h4>Current language</h4>
        <mat-form-field>
            <mat-select placeholder="Select a language">
                <mat-option
                    *ngFor="let language of languageList"
                    [value]="language"
                >
                    {{ language }}
                </mat-option>
            </mat-select>
        </mat-form-field>
    </div>
</mat-expansion-panel>

If I start with the h4 it correctly expans up to the div. If I expand once more, the selection disappears.
If I start with mat-form-field or mat-expansion-panel, it expands to the opening tag itself and then the selection disappears.

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

No branches or pull requests

1 participant