All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.1.11 (2024-07-29)
- reflowOnResize not work when toggle ellipsis repeatedly (16511fb), closes #17
- remove useless code; correct the comment (93a5758)
- resizeOnReflow not work with multi ellipsis components (e4a5290), closes #16
- resolve issue with abnormal scaling caused by zoom, and floating point line-height values (cbc6325)
- resolve truncation issue when the last node is a
tag in rich text mode (cca7d1e) - resolve truncation issue when the last node is a
tag in rich text mode (61c4d62) - docs: rich text styles not work and docs desc (90bc143)
- type error (78db293)
- warning when use on server render (77132e0)
1.1.10 (2022-07-10)
1.1.9 (2022-02-25)
1.1.8 (2021-12-14)
1.1.7 (2021-12-13)
- type error (78db293)
1.1.6 (2021-12-13)
1.1.5 (2021-12-12)
1.1.4 (2021-12-02)
1.1.3 (2021-11-12)
- flashing on resize if use requestAnimationFrame (e6ff186)
1.1.2 (2021-11-08)
- resolve the error of bisection method (e698898)
- resolve the error of isSupportNativeEllipsis (aa013a8)
1.1.1 (2021-10-12)
1.1.0 (2021-10-11)
- add visibleLine and visibleHeight to support "show n lines when content more than m lines" (ce06ac4), closes #8
1.0.4 (2021-09-24)
- replace useEffect with useLayoutEffect to avoid content flashing (5518c96)
1.0.3 (2021-09-24)
- onReflow timing error (9a9d7d8)
1.0.2 (2021-09-18)
- line-height compute error with normal lineHeight and chinese (9891b6f)
1.0.1 (2021-05-07)
- compute line-height error with normal line-height (f9603e7)
1.0.0 (2021-04-17)
- flashing when switch ellipsis (33c62d2)
0.5.4 (2021-03-17)
- support html ellipsis (8151082)
- update CHANGELOG.md (60c0edb)
0.5.3 (2021-03-03)
- should hidden ellipsis when container size is just right (44cd15e)
0.5.2 (2021-03-01)
- undefined judge error on ssr env (54e986b)
- first commit. (5fa3389)
0.5.0 (2021-02-28)
- change dangerousEllipsisHtml to ellipsisNode & update docs (0f257a2)
0.4.0 (2021-02-28)
- add ellipsisNode props & update docs (aa01304)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.3.0 (2021-02-28)
- add onEllipsisClick event (8cf415b)
- first commit. 5fa3389