matrix-react-sdk
3c7bed97 - size all items to rendered height when starting drag operation

Commit
7 years ago
size all items to rendered height when starting drag operation before, we'd only normalize the sublists that had already been sized manually. As non-sized items still have flex-basis: auto, they would claim all the space, and mixing sized and unsized items would be badly broken. Now, on the first click, all items are sized to their rendered size which means they won't flex anymore, but at least the resizing works this way Another downside is that when resizing while a sublist is collapsed, it's reverted to 100px and if a size had been set before, it's forgotten. No way around this with this approach I'm afraid.
Author
Parents
Loading