Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

visibleAtInit overlaps first item #3

Closed
behelit opened this issue Feb 21, 2019 · 3 comments
Closed

visibleAtInit overlaps first item #3

behelit opened this issue Feb 21, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@behelit
Copy link

behelit commented Feb 21, 2019

When specifying visibleAtInit it overlaps first item in the recycler list.
Is it possible to use visibleAtInit without it overlapping the first item?
I will try forcing a scroll to the top but that isn't ideal.

I think this library is great btw.

Edit: Sorry, I think this may be due to the way I load the recycler content after initialization (because it's a long slow load), will investigate.

@lucanicoletti
Copy link
Owner

@behelit have you solved it? Otherwise, I'll have a look into it, can you post some code?

@behelit
Copy link
Author

behelit commented Feb 24, 2019

Sorry, I didn't look into solving it.
In your sample app, if you select the "Show at init example" button, you can see that the first visible item is 'ipsum', while 'Lorem' is behind the searchview.
Maybe force scrolling to the top on load could workaround this.

lucanicoletti added a commit that referenced this issue Feb 25, 2019
@lucanicoletti
Copy link
Owner

Hello,

I investigated and reproduced the error.
It is being fixed in Version 0.0.3, please update the library version in your project and come back if the problem is not fixed.

Closing the issue.

@lucanicoletti lucanicoletti self-assigned this Feb 26, 2019
@lucanicoletti lucanicoletti added the bug Something isn't working label Feb 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants