AyLoading icon indicating copy to clipboard operation
AyLoading copied to clipboard

Loading on an NSButton if "Push" or "Textured Rounded" doesn't restore text

Open MikeDaniel18 opened this issue 6 years ago • 5 comments

After ay.startloading() and then ay.stopLoading() on an NSButton with a style of either Push or TexturedRounded, the title value is no longer visible after the animations complete, leaving a blank button.

I tried some debugging of this but couldn't find what was going on. In these buttons the title is stored in an NSCell, which doesn't appear to be stored as a subview, which might be what's causing the issue.

MikeDaniel18 avatar Nov 30 '18 14:11 MikeDaniel18

Thank you very much for using. I have not been able to reproduce this problem, can you provide an example project or screenshot or video?

chakery avatar Dec 01 '18 07:12 chakery

maybe you can try pod 'AyLoading', '4.0.1'

chakery avatar Dec 01 '18 10:12 chakery

I am facing the same issue. I am not using any style for UIButton. Using delay with more than 0.4 seconds seems to fix the issue, but thats not a feasible option as it would cause extra delay to the users

TwunTee avatar Mar 31 '19 01:03 TwunTee

can you provide an example project or screenshot or video for this issue? thanks.

chakery avatar Apr 01 '19 01:04 chakery

Button with 0.2 seconds delay(anything less or with no delay causes the same effect) progressbuttonbug

Button with 0.4 seconds delay(This works without much problem) progressbuttonbug04delay

TwunTee avatar Apr 04 '19 10:04 TwunTee