Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

feat: add animationEnabled to TabView#1388

Merged
okwasniewski merged 8 commits into
satya164:mainfrom
szymonrybczak:feat/add-disable-animation
Sep 30, 2022
Merged

feat: add animationEnabled to TabView#1388
okwasniewski merged 8 commits into
satya164:mainfrom
szymonrybczak:feat/add-disable-animation

Conversation

@szymonrybczak

Copy link
Copy Markdown
Contributor

Motivation

According to this issue #1371 I added the disableChangeTabAnimation to disable animation when changing tab.

Comment thread README.md Outdated
Comment thread src/PagerViewAdapter.tsx Outdated
@szymonrybczak

Copy link
Copy Markdown
Contributor Author

@satya164 I updated my code as you said, could you please look at it again?

@szymonrybczak szymonrybczak changed the title feat: add disableChangeTabAnimation to TabView feat: add animationEnabled to TabView Sep 6, 2022
Comment thread example/package.json Outdated

@satya164 satya164 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This also needs to be handled in PanResponderAdapter for Web, where it should call panX.setValue instead of performing an animation

@szymonrybczak szymonrybczak force-pushed the feat/add-disable-animation branch from 2f568d8 to 13c2037 Compare September 9, 2022 19:18
Comment thread src/PanResponderAdapter.tsx Outdated
Comment thread src/PanResponderAdapter.tsx Outdated
Comment thread src/types.tsx Outdated
Comment thread README.md Outdated
@szymonrybczak szymonrybczak force-pushed the feat/add-disable-animation branch from 939cc0a to 07ee1b0 Compare September 24, 2022 12:32
@mlecoq

mlecoq commented Sep 28, 2022

Copy link
Copy Markdown
Contributor

Hi, I have made a separated PR: see #1391 because I need to be able to deactivate animation only for distant tabs (I need to keep them for neighbor tabs)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants