Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Scroll state not restored properly in horizontal mode #24

Open
manfcas opened this issue Jul 3, 2018 · 1 comment
Open

Scroll state not restored properly in horizontal mode #24

manfcas opened this issue Jul 3, 2018 · 1 comment

Comments

@manfcas
Copy link

manfcas commented Jul 3, 2018

The SpannedGridLayoutManager.onLayoutChildren method computes the scroll offset with:

val offset = view.top - getTopDecorationHeight(view)

irregardless of the orientation.

@jmartinesp
Copy link
Owner

jmartinesp commented Oct 7, 2018

Sorry for the late response. Could you try again with the latest version? I spent a few hours trying to fix this issue - and a few others that were also related to scroll restoration - and it should be solved by now. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants