Files
element-web/src
Travis Ralston 8e982f52ff Fix extra room tiles being rendered on smaller sublists
Fixes https://github.com/vector-im/riot-web/issues/14426

The issue only applies to lists which won't have a 'show less' button, as the lists with the button would have the button's height considered when determining visible tiles. For lists that were under that (1-4 rooms), the show more button wasn't being considered and thus leading to the padding being added rather than subtracted, causing an extra tile to render.

By ensuring we include the padding for both show more and show less, we ensure that no extra tiles get rendered and that the cutoff semantics are still present.
2020-07-13 12:59:09 -06:00
..
2020-06-18 14:32:43 +01:00
2020-07-10 02:22:34 +01:00
2020-06-29 11:35:14 +01:00
2020-07-13 16:39:59 +01:00
2020-06-25 08:44:24 +01:00
2020-07-02 23:22:36 +01:00
2020-06-18 14:32:43 +01:00
2020-06-05 23:34:04 +01:00
2020-07-02 23:26:39 +01:00
2020-06-12 22:36:50 +01:00
2020-06-18 14:32:43 +01:00
2020-05-13 21:07:50 -06:00
2020-05-12 10:29:06 +01:00
2020-05-13 21:07:50 -06:00
2020-06-25 15:02:52 +01:00
2020-06-24 14:58:41 +02:00
2020-05-27 10:28:25 +01:00