Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

[StackView] Dot showing if clockwiseProgress is false #31

Open
daniel-choi opened this issue May 25, 2018 · 6 comments
Open

[StackView] Dot showing if clockwiseProgress is false #31

daniel-choi opened this issue May 25, 2018 · 6 comments
Labels

Comments

@daniel-choi
Copy link

daniel-choi commented May 25, 2018

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
Copy link
Author

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

@iwasrobbed
Copy link
Owner

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
Copy link
Owner

iwasrobbed commented May 26, 2018

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
Copy link
Owner

iwasrobbed commented May 26, 2018

demo.mp4.zip

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

storyboardSample.zip

@daniel-choi
Copy link
Author

daniel-choi commented May 29, 2018

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

@iwasrobbed
Copy link
Owner

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 iwasrobbed changed the title Dot if clockwiseProgress is false [StackView] Dot showing if clockwiseProgress is false Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants