You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wondering if there's a way to make the larger-weight words appear on top of smaller-weight words. Currently, smaller-weight words sit on top. I wondered if the sort order of the words array would impact it but it appears that smaller items are always rendered last in the DOM so sit on top, no matter how the array is sorted.
Using a custom renderer that sets the word's z-index based on weight also doesn't seem to work since the elements are nested.
I appreciate any help!
The text was updated successfully, but these errors were encountered:
First of all, I really love this component!
Just wondering if there's a way to make the larger-weight words appear on top of smaller-weight words. Currently, smaller-weight words sit on top. I wondered if the sort order of the
words
array would impact it but it appears that smaller items are always rendered last in the DOM so sit on top, no matter how the array is sorted.Using a custom renderer that sets the word's z-index based on weight also doesn't seem to work since the elements are nested.
I appreciate any help!
The text was updated successfully, but these errors were encountered: