ecency / ecency-mobile

Ecency Mobile - reimagined social blogging, contribute and get rewarded (for Android and iOS)
https://ecency.com
MIT License
233 stars 69 forks source link

Posts scrolling glitch, momentary image flash #1870

Closed noumantahir closed 3 years ago

noumantahir commented 3 years ago

Describe the bug While scrolling posts lists a glitch is experienced sometimes... it appears as if the image sometimes covers the whole screen momentary before settling actual height... only happens to some posts

To Reproduce

  1. Steps to reproduce the behavior:

Expected behavior Scroll should appear as smooth as possible

Screenshots or Video https://user-images.githubusercontent.com/6298342/111971695-6bdf2d00-8b1e-11eb-97bd-ee1eac846c6f.MP4

Smartphone (please complete the following information):

noumantahir commented 3 years ago

This is also fixed...

I am now maintaining height cache outside of postCard and linked it with FlatList using extra data.

also introduced a local_id generator as I was having issues with both post_id and id in post to be unique and available for all posts which does seem like a case.

@feruzm