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

ExpandableCalendar - Added height calculation on layout instead of hard coded header height #2599

Merged
merged 18 commits into from
Feb 26, 2025

Conversation

nitzanyiz
Copy link
Contributor

@nitzanyiz nitzanyiz commented Feb 9, 2025

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 the WeekCalendar was cutting the days letters.

Ticket: MADS-4584

@nitzanyiz nitzanyiz requested a review from Inbal-Tish February 9, 2025 09:47
@nitzanyiz
Copy link
Contributor Author

@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.

@nitzanyiz
Copy link
Contributor Author

Do you have any intuition on things I should check here?

@nitzanyiz nitzanyiz marked this pull request as ready for review February 9, 2025 09:58
@nitzanyiz nitzanyiz requested a review from Inbal-Tish February 10, 2025 08:55
@Inbal-Tish Inbal-Tish assigned nitzanyiz and unassigned Inbal-Tish Feb 11, 2025
@nitzanyiz nitzanyiz changed the title ExpandableHeader - Added height calculation on layout instead of hard coded header height ExpandableCalendar - Added height calculation on layout instead of hard coded header height Feb 12, 2025
@nitzanyiz nitzanyiz assigned Inbal-Tish and unassigned nitzanyiz Feb 12, 2025
@Inbal-Tish Inbal-Tish assigned nitzanyiz and unassigned Inbal-Tish Feb 16, 2025
@nitzanyiz nitzanyiz assigned Inbal-Tish and unassigned nitzanyiz Feb 16, 2025
@Inbal-Tish Inbal-Tish assigned nitzanyiz and unassigned Inbal-Tish Feb 18, 2025
@nitzanyiz nitzanyiz assigned Inbal-Tish and unassigned nitzanyiz Feb 19, 2025
@Inbal-Tish Inbal-Tish assigned nitzanyiz and unassigned Inbal-Tish Feb 20, 2025
@nitzanyiz nitzanyiz assigned Inbal-Tish and unassigned nitzanyiz Feb 20, 2025
@Inbal-Tish Inbal-Tish assigned nitzanyiz and unassigned Inbal-Tish Feb 23, 2025
@nitzanyiz nitzanyiz merged commit 97c5541 into master Feb 26, 2025
1 check passed
@nitzanyiz nitzanyiz deleted the fix/ExpandabelHeaderHeaderHeight branch February 26, 2025 09:09
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

Successfully merging this pull request may close these issues.

2 participants