-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
This is more of a question than an issue but I was not sure where else to post.
I enabled text balancing on a React component whose content can change based on its props. Due to how the props are computed, the content of the component changes when it is mounted. Due to JS event scheduling, the component content changes as the balance-text library is trying to balance the text, leading to window.getComputedStyle() to error out as the element is gone, and removeChild() to also error out.
Any suggestions on how to work around this problem? (which I admit is not really an issue with the library)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels