reactjs - Truncate.js stopped working after moving to preact from react -
uncaught (in promise) typeerror: cannot read property 'offsetwidth' of null @ truncate.ellipsiswidth (truncate.js?5e56:163) @ truncate.getlines (truncate.js?5e56:184) earlier working react. after using preact-compat it's not working. help. library used truncate
edit: think refs not working in it.
Comments
Post a Comment