Closed Golubeykov closed 1 year ago
Messages | |
---|---|
:book: | Great! We didn't found any violations in your changes. Congratulations 🎉 |
Generated by :no_entry_sign: Danger Swift against 017092891551cc62a9ece4ac4edd458e84f99594
Patch coverage: 4.34
% and project coverage change: -0.95
:warning:
Comparison is base (
5084a8c
) 69.82% compared to head (1563f22
) 68.88%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
SPT-1364
Что сделано?
Зачем это сделано?
Добавить новые возможности для библиотеки. Как пример, обратная пагинация может использоваться в чатах.
На что обратить внимание
При обратной пагинации (если скроллить наверх), при после вставки новых ячеек в начало, сбивается позиция изнального скролла примерно на 20 единиц. В таблице получилось пофиксить это сменив стиль с Grouped на Plain. В коллекции такого нет. Поэтому поищу целевое решение в рамках https://jira.surfstudio.ru/browse/SPT-1514 . При чем эта проблема актуальна только для второй страницы скролла. Дальнейшие страницы грузятся с корректным возвратом на изначальную позицию скролла.
Как протестировать?
Чтобы воспроизвести проблему надо: Зайти в Collection -> Collection with two direction pagination -> Проскроллить вверх.
Демо
https://github.com/surfstudio/ReactiveDataDisplayManager/assets/47087482/017ba0b4-7532-43c8-8eac-b01140b1f5bf