react-native-inviewport icon indicating copy to clipboard operation
react-native-inviewport copied to clipboard

Detect if component is in device viewport

Results 17 react-native-inviewport issues
Sort by recently updated
recently updated
newest added

* Update readme for more clear guidance while using the library * Updated InviewPort class name * Used componentWillReceiveProps with the "unsafe" tag as per new react guidelines.

I am trying to use this library in my expo app, but when I want to run my project on web, it creashes webpack

I am trying to implemnet the same code which is mentioned in this library. which is ``` export default class Inviewport extends Component{ constructor(props){ super(props); this.state={ visible:false, } } checkVisible...

First, I hope you and your loved ones are healthy and safe in these crazy days. Everyone's priorities got thrown against the wall the last several months, so no surprise...

``` TypeError: Cannot read property 'func' of undefined ../../node_modules/react-native-inviewport/index.js node_modules/react-native-inviewport/index.js:11 8 | displayName: 'InViewPort', 9 | mixins: [NativeMethodsMixin], 10 | propTypes: { > 11 | onChange: React.PropTypes.func.isRequired, | ^ 12...

Previously, 100% of a view had to be on-screen to be considered visible with this plug-in. This was causing trouble for us as (1) sometimes we wanted to use this...

Although there is a method "stopWatching" which is called in "componentWillUnmount" and clear the interval, is possible that the native method "measure" async callback is returned with the component already...