retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.01k stars 201 forks source link

Content is truncated if Panel component is used with multiple columns #653

Open afaa97 opened 7 months ago

afaa97 commented 7 months ago

Hey there, I'm using Retype v3.5.0 and I believe I've stumbled upon a minor issue with the Panel component.

When placing two or more columns within a panel and writing more content inside the other columns compared to the first, switching to the other columns results in the content being cut off. The content is only displayed correctly if you collapse and expand the panel again by clicking on its title.

I've replicated the issue with the following example:

==- Panel
+++ Column 1
- Test
- ABC
- 123
- aaaa

+++ Column 2
This \
is \
js \
code
```js
const msg = "Hello, world";

console.log(msg);

+++


Here's how it appears for me initially:

![](https://github-production-user-asset-6210df.s3.amazonaws.com/31856635/280885785-5e5333ae-fe51-475b-8c58-ba681abb53a3.png)

If you collapse and expand the panel, the problem is fixed but it's temporary.