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

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

Open
ksilz opened this issue Oct 6, 2020 · 5 comments
Open

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

ksilz opened this issue Oct 6, 2020 · 5 comments

Comments

@ksilz
Copy link

ksilz commented Oct 6, 2020

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

@leifermendez
Copy link
Owner

Hi @ksilz I'll check and comment

@ksilz
Copy link
Author

ksilz commented Oct 7, 2020

Not a problem, I've got a workaround where I delete the style attribute myself.

@ksilz
Copy link
Author

ksilz commented Oct 7, 2020

In unrelated new, can I take a crack at improving the README next week? I'm a technical writer, too - here's my latest Baeldung article.

@leifermendez
Copy link
Owner

Of course, it would be of great help to the community. I would appreciate it very much

@ksilz
Copy link
Author

ksilz commented Oct 7, 2020

Ok, deal.

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

2 participants