Commit Graph

14 Commits (efcda54c3fcd4cae51effb7797b6f1a86c0b78aa)

Author SHA1 Message Date
J. Ryan Stinnett 1dc2ae007f Fix soft crash on room join
This fixes a soft crash that can happen on room join if you keep the right panel
open (which is the default). The `MainSplit` component was not properly testing
for the edge cases of when the resize container would be mounted.

Fixes https://github.com/vector-im/riot-web/issues/10997
2019-10-08 15:43:57 +01:00
Bruno Windels 82e44249ff make resizeNotifier optional in MainSplit for GroupView 2019-03-27 16:38:17 +01:00
Bruno Windels 891e343df6 create ResizeNotifier to derive which areas of the app resize and emit 2019-03-15 10:16:21 +01:00
Bruno Windels 8c30d05eb8 Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental"
This reverts commit ece5cb1fcc, reversing
changes made to 64a3d2521c.
2019-01-17 10:29:37 +01:00
Bruno Windels c9272c48e0 undo unneeded changes 2019-01-08 12:05:06 +01:00
Bruno Windels 81c48f07c7 clear width of right panel container when collapsed in grid view 2019-01-07 15:20:39 +01:00
Bruno Windels fd5ad56886 give right panel default width of 350px 2018-12-18 17:12:32 +01:00
Bruno Windels f744374d1d read collapsedRhs from props when mounting main split 2018-12-17 15:56:17 +01:00
Bruno Windels 84044fca1c fix lint 2018-12-11 11:09:11 +01:00
Bruno Windels 541b0011ac actually persist right panel width on resize 2018-12-03 10:43:35 +01:00
Bruno Windels bd9c0dc6cf fix lint 2018-10-31 12:20:10 +01:00
Bruno Windels 1948e9bc17 only detach if created before 2018-10-31 12:17:13 +01:00
Bruno Windels d535f60bf6 only create resizer in MainSplit when ref becomes available 2018-10-31 12:08:41 +01:00
Bruno Windels 790299f2d2 introduce MainSplit, to split between room/group body and right panel 2018-10-30 18:12:21 +01:00