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
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.
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Hi @LukasStordeur - thank you for reporting! I'm going to close this as a duplicate of #12436. I'm taking a look at that one and you can follow our progress there.
Activity
coderabbitai commentedon Jun 11, 2026
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
rebeccaalpert commentedon Jun 25, 2026
Hi @LukasStordeur - thank you for reporting! I'm going to close this as a duplicate of #12436. I'm taking a look at that one and you can follow our progress there.