jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

Spinner disappear and label text persist before hiding the HUD #504

Open chetan15aggarwal opened 7 years ago

chetan15aggarwal commented 7 years ago

Hi,

I have a cell in which there is tableview and stack view. In this cell I had added MBProgressview. I reload my model in global queue and hide the progressive in main thread after model reload completion. But before hiding the view , my spinner disappear and only label still exist in MBprogressHUD view. This bit annoying. Is there way to control the spinner?

matej commented 6 years ago

When you reload the cels they are probably reused, which might cause unwanted side effects. The solution might be to hide the HUD in prepareForReuse and then configure it again.

You would need to be more specific (failing test case for example) in you believe this is a bug.