airbnb / HorizonCalendar

A declarative, performant, iOS calendar UI component that supports use cases ranging from simple date pickers all the way up to fully-featured calendar apps.
Apache License 2.0
2.85k stars 234 forks source link

SwiftUI navigation title disappears when CalendarViewRepresentable presents #314

Open IraklisElef opened 3 months ago

IraklisElef commented 3 months ago

Hello, as the title suggests, the navigation title disappears when CalendarViewRepresentable presents. This bug does not occur in iOS 15 but it does on iOS 16 and iOS 17. I have a TabView and one of the tabs is the CalendarViewRepresentable. At first, the navigation title is visible, however, if I try to change the month, the navigation title disappears. If I change the tab and go back to the calendar tab, the navigation title reappears. Not really sure what can be done, so yeah any suggestions are welcome. Thank you in advance.

jaeho0718 commented 2 months ago

I have same issue! In navigation view, when I scroll calendar, navigation title disappears.

ChrisRoh92 commented 2 months ago

I also see this issue, but only if you specify a custom view for the days via .day { day in // ... }

With the default views, it works fine