Skip to content

Conversation

@douglowder
Copy link
Contributor

The changes in #116 introduced noticeable rerendering in tvOS when using the arrow key or swipe gesture on the remote to change tabs.

The issue is that on tvOS, tabs are not selected by a press event, so the onTabItemEvent() handler is unnecessarily redrawing the tab bar.

This PR fixes that issue, and adds tvOS version checks to the existing iOS version checks.

Also fixed warnings in PageSelectedEvent.swift.

Copy link
Member

@okwasniewski okwasniewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

@okwasniewski okwasniewski merged commit b6b6ad0 into callstack:main Nov 9, 2024
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