ChatKit icon indicating copy to clipboard operation
ChatKit copied to clipboard

Image uploaded in 1 to 1 chat on scroll keeps calling image loader

Open akshayNisos opened this issue 8 years ago • 3 comments

I ve uploaded 7-8 images and the image uploader keeps on calling again and again shrinking the image every time i scroll over the list.

akshayNisos avatar Feb 12 '18 14:02 akshayNisos

Sorry @akshayNisos I can't clearly understand the problem. Can you provide more details?

bevzaanton avatar Jul 10 '18 11:07 bevzaanton

Same problem. In my chat Im uploading image to backend and until i get update's completion callback, Im showing local file with progress bar on it. So when callback comes, Im calling upsert() method on my adapters object with new Message object with download url in it instead of my local uri. And here shrinking starts. And also when I addToStart my imageMessage with scroll boolean set true, it scrolls only half of the image, most times bottom half stays under bottom side of the screen. I think it can be helpful to add a method for scrolling to needed position in adapter.

RobertGasparian avatar Jul 26 '18 13:07 RobertGasparian

any update on this one??

RohiniRaman31 avatar Dec 30 '19 13:12 RohiniRaman31