Skip to content

Fix/tab controller transition #1089

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

Conversation

ethanshar
Copy link
Collaborator

Description

Fix animation issues in TabController, there are two commits here
Notice this PR branched from your PR (with all the TS changes, so there won't be any conflicts) - so merging it, will update your PR.

The First:
Fix the issue with the first time you press a tab bar item - there's no response

The second:
Fix a bigger issue.
Apparently they fixed something in [email protected] that expose a bug on our end.
It seems the <Code>....</Code> blocks kept re-rendering while they should have been monetized.
Re-redner the Code block on state change cause the animation declarations to reset - which caused a huge problem.

Changelog

Fix TabController animation issues with [email protected]

@M-i-k-e-l
Copy link
Collaborator

Cool, how did you find this? Release notes?

@M-i-k-e-l M-i-k-e-l merged commit b747c91 into typescript/tab-controller-move-to-typescript Dec 20, 2020
ethanshar added a commit that referenced this pull request Dec 22, 2020
* Move TabBarContext from js ro ts

* Move TabPage from js to tsx

* TabPage - move to typescript (fix typescript)

* Move PageCarousel from js to tsx

* PageCarousel - move to typescript (fix typescript)

* Fix TabPage exception

* Delete ReanimatedObject

* Move TabBarItem from js to tsx

* export TabPageProps

* TabPage - fix description

* Commit .d files

* TabBarItem - move to typescript (fix typescript)

* PageCarousel - move to typescript (fix typescript) - part 2

* Move TabBar from js to tsx

* Move ScrollBarGradient from js to tsx

* ScrollBarGradient add props and docs

* Commit .d file

* TabBar - move to typescript (fix typescript)

* Move TabBarController from js to tsx

* TabController - move to typescript (fix typescript)

* Move TabControllerScreen to ts

* Fix screen and some errors

* Fix PR comments

* Fix prop

* Fix/tab controller transition (#1089)

* Fix first tab item change doesn't repsond

* Memoize renderCodeBlock in TabController components

* Move TabBarController from index.tsx to TabBarController.tsx

* Create TabControllerProps namespace

* Create TabControllerProps namespace (fix screen)

* Revert "Create TabControllerProps namespace (fix screen)"

This reverts commit 0d3cff5.

* Revert "Create TabControllerProps namespace"

This reverts commit cd52f05.

* Revert "Move TabBarController from index.tsx to TabBarController.tsx"

This reverts commit 2b493ee.

* Change interfaces names for TabController related classes

Co-authored-by: Ethan Sharabi <[email protected]>
@ethanshar ethanshar deleted the fix/TabControllerTransition branch March 8, 2021 09:03
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