Bug
Opened this issue · 1 comments
CEN-Smart commented
The value disappears from the DOM when wrapped by another HTML element or used as a child in a component. Please check and fix.
Thank you.
kKaskak commented
You can use a div
element to avoid this problem:
<div ref={ref} className={className}>
{Intl.NumberFormat('en-US').format(value)}
</div>
This way the value will display even when it's a 0.