We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For 2.0.0-beta2, parent with max-width 100% will set canvas with to 100
Trace code down to: getConstraintWidth if (hasCWNode || hasCWContainer) { constrainedWidth = Math.min((hasCWNode ? parseInt(constrainedWNode, 10) : Number.POSITIVE_INFINITY), (hasCWContainer ? parseInt(constrainedWContainer, 10) : Number.POSITIVE_INFINITY)); } scope: constrainedWContainer: "100%" constrainedWNode: "none" constrainedWidth: 100 domNode: canvas hasCWContainer: true hasCWNode: false
if (hasCWNode || hasCWContainer) { constrainedWidth = Math.min((hasCWNode ? parseInt(constrainedWNode, 10) : Number.POSITIVE_INFINITY), (hasCWContainer ? parseInt(constrainedWContainer, 10) : Number.POSITIVE_INFINITY)); }
example
The text was updated successfully, but these errors were encountered:
I think this should be a bug instead of enhancement, unless it's documented to not support percentage width in css.
Sorry, something went wrong.
Agreed. This should be considered a bug.
Implemented in v2 in #2206
No branches or pull requests
For 2.0.0-beta2, parent with max-width 100% will set canvas with to 100
Trace code down to: getConstraintWidth
if (hasCWNode || hasCWContainer) { constrainedWidth = Math.min((hasCWNode ? parseInt(constrainedWNode, 10) : Number.POSITIVE_INFINITY), (hasCWContainer ? parseInt(constrainedWContainer, 10) : Number.POSITIVE_INFINITY)); }
scope:
constrainedWContainer: "100%"
constrainedWNode: "none"
constrainedWidth: 100
domNode: canvas
hasCWContainer: true
hasCWNode: false
example
The text was updated successfully, but these errors were encountered: