SkeletonView saves the view state of all skeletonable elements. Why? it needs to hide some texts and to change colors to skeleton looks fine.
The problem is if the user modifies the saved values before to hide the skeleton when the skeleton disappears, all these values will be replaced.
For now, the solution is not to save the content of these elements, only properties related to the appearance, as the textColor. When the skeleton disappears, if the color is not equal to the value set when the skeleton appears, the color will be recovered.
Requirements (place an x in each of the [ ])
[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
Fixes #296, #330
Summary
SkeletonView saves the view state of all skeletonable elements. Why? it needs to hide some texts and to change colors to skeleton looks fine. The problem is if the user modifies the saved values before to hide the skeleton when the skeleton disappears, all these values will be replaced.
For now, the solution is not to save the content of these elements, only properties related to the appearance, as the
textColor
. When the skeleton disappears, if the color is not equal to the value set when the skeleton appears, the color will be recovered.Requirements (place an
x
in each of the[ ]
)