Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse the z-index? #63

Open
cjbeattie opened this issue Apr 26, 2023 · 0 comments
Open

Reverse the z-index? #63

cjbeattie opened this issue Apr 26, 2023 · 0 comments

Comments

@cjbeattie
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant