chenglou / chenglou/react-motion

react-native chrome debug remotely breaks react-motion

Open
#339 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I was playing around react-motion in react-native. Simple animation was working fine, but when launch chrome remote debugging it no longer works. You can see in the code below I am simply change the position of the Text view and I am printing out the x value. This all works without debugging, but as soon as launch debugging "x" remains 0 and there is not change.

NOTE: seeing similar issues as this react-native issue [4933](https://github.com/facebook/react-native/issues/4933)

```

{val => {
let style = {
position: 'absolute',
top: val.x * 2.5,
left: val.x * 3,
backgroundColor: '#0000ff',
color: '#fff'
};
return (
{val.x}
)}}

```

react-motion version:
"react-motion": "^0.4.4",

react-native version:
react-native-cli: 0.2.0
react-native: 0.27.1

Chrome: Version 50.0.2661.102 (64-bit)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.