New issue
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
Duplicated Output #48
Comments
Playing around with this today, it appears to only happen when rendering multiline strings. So rendering: <div>{message}</div> where |
Isolated to a |
I'm running into this issue, so I don't think is part of In my case, I want to output an array as string, something like: const urls = map(links, (statusCode, url) => `${statusCode} ${url}`) Then I want to write it into the stdout <div>
{urls.join(os.EOL)}
</div> I tested that, when more than Not sure why the arbitrary |
Having the same issue using Table component with a dataset higher than |
oh wow, looks like the bug actually depends of your terminal size 🤔 |
Yeah.. I have to imagine this is a fairly low level issue. I personally have made zero progress here, unfortunately. |
This bug indeed depends on terminal size. If output from your command is taller than terminal height, it can't be correctly rendered, unfortunately. That's the limitation of the environment Ink is in 🤷♂️ In Ink 2 there's a <Static>
<Test key="test-1" title="Completed test #1"/>
<Test key="test-2" title="Completed test #2"/>
{/* ... */}
</Static> |
Loving the concept of Ink but having some issues with the rendering. I'm seeing this duplicated output:
Have you seen this before? Any idea what the issue could be? I'm not sure this is a bug, but I can't seem to nail down the cause. While I'm typing the answers to the questions, it works fine. It only starts to break when it renders the other parts of the UI.
Thanks for your help and happy holidays!
The text was updated successfully, but these errors were encountered: