ngx-copilot
ngx-copilot copied to clipboard
Angular 10.1: Copilot leaves "style" on "body" element
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?
Hi @ksilz I'll check and comment
Not a problem, I've got a workaround where I delete the style
attribute myself.
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.
Of course, it would be of great help to the community. I would appreciate it very much
Ok, deal.