There seems to be an issue where the value inside the ellipsis is not updating when the text is long enough to be truncated. Here's a demo: https://codesandbox.io/s/demo-middle-ellipsis-l8wq1