-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ExpandableCalendar - Added height calculation on layout instead of hard coded header height #2599
Conversation
@Inbal-Tish , I've passed the onLayout to the headers - Calendar's header when there is not staticHeader and static header when there is. I Also moved the WeekCalendar to be on top of the AnimatedHeader because it was cutting it. Do you think I should add the onHeaderLayout to the animated header instead? They should be same... I'm not sure which one is better to relay on. |
Do you have any intuition on things I should check here? |
… remove useHeaderHeight hook
Description
Added dynamic header height calculation. The header height had a fixed height until now causing the
WeekCalendar
to go on top of the header and cut some of the calendar header. We've encountered this where theWeekCalendar
was cutting the days letters.Ticket: MADS-4584