The Calendar component should render elements and choose onEventPress action based on current active view - I am using state to manage that.
Surprisingly enough only the monthly onEventPress works - no matter how I change the structure of the returned daily component - onPress is not doing anything at all - even if I make those custom events identical
Could you please explain if there's a misnderstanding about Calendar component functionality from my side or some kind of error
EDIT - While in my case it is not painful to migrate all onPressEvent functionality to the TouchableOpacity onPress method I am still curious why it does not work)
I have created two custom event renderers for my component
For month view:
For day view:
The Calendar component should render elements and choose onEventPress action based on current active view - I am using state to manage that.
Surprisingly enough only the monthly onEventPress works - no matter how I change the structure of the returned daily component - onPress is not doing anything at all - even if I make those custom events identical
Could you please explain if there's a misnderstanding about Calendar component functionality from my side or some kind of error
Calendar component code:
EDIT - While in my case it is not painful to migrate all onPressEvent functionality to the TouchableOpacity onPress method I am still curious why it does not work)