flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[BUG] base64 Image Flickering on setState

Open s9978 opened this issue 4 years ago • 4 comments

base64 Image Flickering on setState

when we use setState then the base64 is re-rendering Uploading image_flicker_gif.gif… .

s9978 avatar Jan 12 '22 11:01 s9978

Your video did not upload correct, could you try again?

tneotia avatar Jan 12 '22 15:01 tneotia

image_flicker_gif

s9978 avatar Jan 13 '22 04:01 s9978

You are likely reloading too much of the page with each setState which causes Html to reload and do flickering. I suggest splitting the checkbox widgets into a separate stateful widget so that tapping a new item does not reload the Html.

tneotia avatar Jan 13 '22 22:01 tneotia

You are right. It can be an issue. But in my case i am not reloading too much just one boolean variable changes at the time of clicking checkbox.

s9978 avatar Jan 17 '22 13:01 s9978

Should be fixed by 3.0.0-beta.1. Please let me know if you continue to experience this issue.

Sub6Resources avatar May 17 '23 21:05 Sub6Resources