Skip to content

Conversation

@chicojasl
Copy link

This PR fixes an issue where the onLoad callback was not being triggered when enableResourceScroll prop was set to true. This was caused by the ResourceListView component failing to implement and call the onLoad prop passed down from the container.

Before (Bug)

Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-01-22.at.15.07.03.mov

After (Fix)

Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-01-22.at.15.07.14.mov

- Added onLoad prop to ResourceListView
- Trigger onLoad via useEffect in ResourceListView to ensure it fires when the view is ready
- Passed onLoad from CalendarBody to ResourceListView
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.

1 participant