Skip to content

Angular 10.1: Copilot leaves "style" on "body" element #4

@ksilz

Description

@ksilz

I'm using ngx-copilot with Angular 10.1. I use it to show two steps. After the last step, my code calls removeWrapper(). Still, ngx-copilot leaves some style code behind on my <html> element that wasn't there before the steps:

style="overflow: auto; --zoneY:179.375px; --zoneX:495.625px; --zoneColor: rgba(0, 0, 0, 0.7) ; --zoneSize:96.4063px;"

This code leads to a scrollbar appearing. Once I remove the style code, the scrollbar disappears. See below for a sample.

Is there a way for ngx-copilot to automatically remove the style code on my <html> element?

Style on body left behind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions