You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I´m trying to render a responsive component and the results are a little different from the ones I was expecting.
Isn't the option 'windowWidth' created to make rendering independant of the real screen resolution? It doesn't matter what value I set in this option, the result seems always related to the current "window.innerWidth" of the browser.
It's important to say that the component I´m rendering is a card from https://vuematerial.io/.
Here are the options I´m using:
const html2CanvasOptions = {
type: 'dataURL',
scale: 1,
windowWidth: 1362 // or '1362px' , it doesn't seems to change anything
};
The text was updated successfully, but these errors were encountered:
Greetings.
I´m trying to render a responsive component and the results are a little different from the ones I was expecting.
Isn't the option 'windowWidth' created to make rendering independant of the real screen resolution? It doesn't matter what value I set in this option, the result seems always related to the current "window.innerWidth" of the browser.
It's important to say that the component I´m rendering is a card from https://vuematerial.io/.
Here are the options I´m using:
const html2CanvasOptions = {
type: 'dataURL',
scale: 1,
windowWidth: 1362 // or '1362px' , it doesn't seems to change anything
};
The text was updated successfully, but these errors were encountered: