-
Notifications
You must be signed in to change notification settings - Fork 614
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
Month with 6 rows not always showing days in the 6th row #396
Comments
@DannyJi I see, thanks for reporting the issue. I'll see if I find the time to take a look into it this weekend, but don't expect any immediate solution. |
FYI, our QA team here detected the issue. I did find that this is only manifested on iPhone "Plus" models. Using the simulator - iPhone 6 would be normal, but iPhone 6 Plus show this behavior. Same with iPhone 6s and iPhone 6s Plus. iPads always seem to work. Update: |
@DannyJi I can't seem to repro this on the demo. Can you try the latest master and see if it occurs in the demo project? |
I tried the latest master and was not able to replicate in the demo. However, my project's layout is different than the demo. I have the Calendar View and Menu View in a UIStackView, with other controls. I am working on making a reduction to illustrate this. Would that be of interest? |
@DannyJi Ok, I'm going to close this issue then. Sure, it'd be great to have another Demo leveraging UIStackView 👍 |
@elsesiy It does seem like if you have a height constraint on the CalendarView inside a UIStackView, that it does not render months with 6 rows correctly. I have been working on a reduction - and a potential solution of removing and re-adding my height constraint on ViewDidLoad. It's simple, but not 100% complete. It also throws some auto layout constraint issues where it breaks a height = 0 constraint. I will share when I get further along on this. |
Expected Behavior
Navigating to month with 6 rows should display the 6th row regardless of orientation
Current Behavior
When using a calendar and navigating to October 2016 from current month of December 2016, the 6th row containing 30th and 31st are not visible when in portrait orientation. When I rotate device, the two dates on the 6th row appear. Rotating back to portrait now shows dates in the 6th row as expected.
Steps to Reproduce (for bugs)
Context
This issue is causing our app to fail review since users are not able to see dates in months that have 6 rows unless they rotate the device.
Note: When we were testing this a few days ago (Nov 2016), this was not happening. Nov 2016 was the starting calendar, we went back one month to Oct. and it was fine. Now that is December 2016, Dec 2016 is the starting calendar and I see this effect when I go back two calendar screens.
Your Environment
Using simulator and iPhone 6Plus
The text was updated successfully, but these errors were encountered: