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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -