RPCircularProgress icon indicating copy to clipboard operation
RPCircularProgress copied to clipboard

[StackView] Dot showing if clockwiseProgress is false

Open daniel-choi opened this issue 7 years ago • 6 comments

First of all, thank you for sharing your awesome work!

While I was using your library, I noticed that I get a little dot on my view when I set clockwiseProgress = false screenshot screen shot 2018-05-24 at 6 47 31 pm

I get this issue whether I implement it programmatically or using storyboard. It works fine if clockwiseProgress = true. I am using Swift 4, Xcode Version 9.3. Do you have any idea why this would happen?

daniel-choi avatar May 25 '18 01:05 daniel-choi

It seems like if I disable rounded corners, the problem goes away.

daniel-choi avatar May 25 '18 01:05 daniel-choi

Thanks for opening an issue, @daniel-choi ! This is indeed from the rounding corners code so disabling that for now will do the trick until I get some time to make a fix

iwasrobbed avatar May 26 '18 13:05 iwasrobbed

Could not replicate this (using storyboards) on Xcode 9.2, so gonna upgrade and check again. Worst case, might need you to show me a sample project that exhibits this so I can try and isolate it further

You may want to check your constraints just in case it has something to do with the frame not being set in time

iwasrobbed avatar May 26 '18 13:05 iwasrobbed

demo.mp4.zip

Still can't reproduce this using Xcode 9.3. Mind creating a quick sample project?

storyboardSample.zip

iwasrobbed avatar May 26 '18 16:05 iwasrobbed

Hi @iwasrobbed, Thanks for the reply. It seems like issue only appears when you put it inside the stack view. I quickly modified your sample project and was able to reproduce the issue.

sample-stackview.zip

daniel-choi avatar May 29 '18 20:05 daniel-choi

Thanks @daniel-choi ! Unfortunately stack views do their own (unknown) layout, so I'll have to dig in a bit more when I get free time

iwasrobbed avatar Jun 01 '18 23:06 iwasrobbed