Skip to content

use initialPosition on init#274

Open
rjruizes wants to merge 1 commit into
wix-incubator:masterfrom
rjruizes:patch-1
Open

use initialPosition on init#274
rjruizes wants to merge 1 commit into
wix-incubator:masterfrom
rjruizes:patch-1

Conversation

@rjruizes

Copy link
Copy Markdown

During initialization, setCenter is called twice:

  1. by React, initialized to (0,0)
  2. by InteractableView, initialized to the initialPosition

Occasionally, the second event is not received on the react-native side (#269). This PR makes the first event initialize to the initialPosition.

@chinmaygit

Copy link
Copy Markdown

When this PR is going to merge ?
looks like very important.

@rjruizes

Copy link
Copy Markdown
Author

@rotemmiz Could you review please?

@alisherakb

alisherakb commented Jul 16, 2019

Copy link
Copy Markdown

@rjruizes
When setting animatedNativeDriver={true} it gives an error:

AnimatedEvent is not a function (near '...})(event, gestureState ...')

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.

3 participants