Closed ouuan closed 2 years ago
You're right.
My expectation is that when a fixed-wide parent box container is not set, it is impossible to inherit the height of 100%. It should be given a height to ensure the most basic display, but this does break the design of the Height-Auto
. Indeed, it is indeedIt is a bad change.
Maybe I should give a basic height when the above conditions are established.
This is terrible. How can we override this? i've tried :height="auto" and 100%
Describe the bug
1faa2f9f533628a44c228c1830698cdea4f71c1a is a bad change:
width-auto
andheight-auto
: https://github.com/RennCheung/codemirror-editor-vue3/blob/1faa2f9f533628a44c228c1830698cdea4f71c1a/packages/src/components/index.vue#L7-L8Validations