The problem of render in antdesign table

problem description

if there is a need to wrap lines in antdesign, only one line appears with an ellipsis. When the mouse is moved in, the content with ellipsis renders a bubble showing all the contents. I control line breaks with ellipses through css. How can I tell which td nodes with ellipses have bubbles.

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)
rendering code in table:
let newColumns = columns.map (v = > {

)
  if(!v.render){
    v.render = (text, record, index) =>
       <Popover content = {text}><span className="tab-text">{text}</span></Popover>
  }
  return v
})
css:
.tab-text{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
}

what result do you expect? What is the error message actually seen?

you can get the node where the bubble comes out, but not all the content has bubbles


I think you can set a variable value to intercept character length, and judge whether there is an ellipsis


Why do you have to have an ellipsis when you move the mouse up? it should not be displayed without ellipsis, it should be displayed when the mouse is moved up. Display is relatively simple, think of the layout, and then hide the bubbles, through the mouse to remove or remove to dynamically show and hide!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf4963-31efe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf4963-31efe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?