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

[Bug] Logging option ignored in 1.0.0-rc.3 version #1874

Closed
2 tasks done
jmesa-sistel opened this issue Jun 7, 2019 · 5 comments · Fixed by #2013
Closed
2 tasks done

[Bug] Logging option ignored in 1.0.0-rc.3 version #1874

jmesa-sistel opened this issue Jun 7, 2019 · 5 comments · Fixed by #2013

Comments

@jmesa-sistel
Copy link

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.

Please follow the general troubleshooting steps first:

  • You are using the latest version
  • You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:

Logging option ignored in 1.0.0-rc.3 version

     html2canvas(iframeHtml, { logging: false }).then(
                (canvas) => {
                   .....
                }
            );

I can see a lot of debug info in console

Specifications:

  • html2canvas version tested with: angular webapp
  • Browser & version: Chrome
  • Operating system: Windows 10
@jpateusa
Copy link

I am also experiencing this.

@Maushundb
Copy link

It looks like all the options I tried (logging, backgroundColor, and canvas) are all ignored in rc3.

@jmesa-sistel
Copy link
Author

@niklasvh Can you take a look?
I can try to do a pull request if you are too busy.

@IanVS
Copy link

IanVS commented Jul 3, 2019

It looks like logging does work in firefox and safari, but I don't see any logs in chrome.

Edit: Setting the log levels to verbose and enabling preserve log shows me the logs in every browser. This is with 1.0.0-rc.3

@SupJoeeeeeey
Copy link

Downgrading to rc1 could get rid of these logs unless you have any requirement for new features inside rc3. (rc2 has issues on option parameter)

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

Successfully merging a pull request may close this issue.

5 participants