Ink: How to make Box responsive?

Created on 30 Jul 2020  路  1Comment  路  Source: vadimdemedes/ink

Firstly congrats for creating Ink! You're really making CLI development simpler 馃憦

I'd like to know if there is any way to make Box component responsive.
The problem I'm facing and would like to know how to fix is: when changing the size of the terminal window where Box is rendered, the Box is resized, but the previous box isn't being erased. (I'm using the latest release (v3.0.0) and iTerm2 - macOS)
Screen Shot 2020-07-29 at 20 20 08 (1) Screen Shot 2020-07-29 at 20 20 41Screen Shot 2020-07-29 at 20 22 37

question

Most helpful comment

Thank you, @lariciamota!

This is a known issue, which I've tried to solve before releasing Ink 3, but unfortunately couldn't fix it at the time. Layout gets broken if you resize down, but it should adjust fine if you resize terminal up. I'm going to give it a shot one more time!

>All comments

Thank you, @lariciamota!

This is a known issue, which I've tried to solve before releasing Ink 3, but unfortunately couldn't fix it at the time. Layout gets broken if you resize down, but it should adjust fine if you resize terminal up. I'm going to give it a shot one more time!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gc picture gc  路  6Comments

nmehta6 picture nmehta6  路  3Comments

zkat picture zkat  路  7Comments

goliney picture goliney  路  4Comments

asadm picture asadm  路  5Comments