We are using v3.0.1 within a react app. When we have a state change with this version, the value in which is wrapped in the Shiitake component does not update without a resize event. Therefore, when the UI needs to change, it holds onto the old value and just appends a ... instead of re-rendering the component to determine if the new value needs to be truncated or not.
The value appears to be appended to the DOM but the original value does not update. This is not an issue in v2.3.1
Work around is to add a key={stateValue} to trigger a re-render of the component so when the value in the state changes, the component will adjust
We are using v3.0.1 within a react app. When we have a state change with this version, the value in which is wrapped in the Shiitake component does not update without a resize event. Therefore, when the UI needs to change, it holds onto the old value and just appends a ... instead of re-rendering the component to determine if the new value needs to be truncated or not.
The value appears to be appended to the DOM but the original value does not update. This is not an issue in v2.3.1
Work around is to add a
key={stateValue}
to trigger a re-render of the component so when the value in the state changes, the component will adjust