Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal Stepperview frame incorrect due to overlayPreferenceValue #93

Open
acegreen opened this issue Aug 1, 2022 · 1 comment
Open
Assignees

Comments

@acegreen
Copy link
Contributor

acegreen commented Aug 1, 2022

Describe the bug
It seems the frame isn't calculated correctly and this results in weird UI behaviour and having to compensate by adding uneven padding

To Reproduce
Steps to reproduce the behavior:
See screenshot

Expected behavior
Frame to take the full bounds of the StepperView

Screenshots

Even padding:

Screen Shot 2022-07-31 at 8 39 09 PM

IMG_0997

Uneven padding:

Screen Shot 2022-07-31 at 8 38 51 PM

IMG_0996

Screen Shot 2022-07-31 at 8 30 15 PM

Info (please complete the following information):

  • Device: [e.g. Simulator / Real Device]
  • OS: [e.g. iOS 13]
  • Pod Version [e.g. 2.16]
  • Xcode Version [e.g. 11] if applicable

Additional context
Add any other context about the problem here.

@acegreen
Copy link
Contributor Author

acegreen commented Aug 1, 2022

On a similar note, the drawLabel doesn't align center to the indicators.

I'm looking into creating a PR for both issues once I figure out a better way. I want to use VStack to layout the indicator and label below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants