Open IlliaHreben opened 1 year ago
Hey thank you so much for bringing up this issue and providing a PR solving it, could you provide an example snippet of how you managed to get this state so i can recreate this locally? My thinking is if this is a bug we should probably add a test case against it so i can review your PR more properly 👍
I'm in the process of making test cases so the library can be further improved more easily by the community.
I do agree with this idea, sample in my case to optimize the matches (without a bye position) like in challonge.com
Hey, thank you for your work! I want to improve it a bit. The point is when the parent element has only one child (like on the screenshot) column doesn't care about it and shifts it to the top. So I place the empty value on the index when the match shouldn't be. It's just my implementation, it works, but you can change it however you want. I just wanted to present the issue and idea of how to solve it.
https://github.com/g-loot/react-tournament-brackets/pull/45