Describe the problem
The sizeToFit property on the code editor doesn't work anymore since 6.5.1
How do you reproduce the problem?
The sizeToFit example displays the same broken behavior I'm experiencing locally, where the property results in the editor being barely visible, and hiding all content.
Additionally, the page on the website https://www.patternfly.org/components/code-editor continuously glitch when trying to scroll to the top of the page.
Expected behavior
It should adjust the height based on its content, like it used to do.
Is this issue blocking you?
The workaround is to calculate the height manually based on amount of lines.
Screenshots
What is your environment?
- OS: Windows
- Browser Chrome (also saw it on Firefox)
- Version 149.0.7827.53 (Official Build)
Jira Issue: PF-4287
Describe the problem
The
sizeToFitproperty on the code editor doesn't work anymore since 6.5.1How do you reproduce the problem?
The sizeToFit example displays the same broken behavior I'm experiencing locally, where the property results in the editor being barely visible, and hiding all content.
Additionally, the page on the website https://www.patternfly.org/components/code-editor continuously glitch when trying to scroll to the top of the page.
Expected behavior
It should adjust the height based on its content, like it used to do.
Is this issue blocking you?
The workaround is to calculate the height manually based on amount of lines.
Screenshots
What is your environment?
Jira Issue: PF-4287