Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-interactable

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-interactable - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

11

lib/src/InteractableView.js

@@ -105,4 +105,13 @@ import React, { Component } from 'react';

}
}
bringToFront() {
if (Platform.OS === 'android') {
UIManager.dispatchViewManagerCommand(
ReactNative.findNodeHandle(this),
UIManager.InteractableView.Commands.bringToFront,
[],
);
}
}
export default WrappedAnimatedInteractableView;

2

package.json
{
"name": "react-native-interactable",
"version": "0.1.8",
"version": "0.1.9",
"description": "High performance interactable views in React Native",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -105,2 +105,11 @@ # Props Reference

#### `startOnFront` (boolean) **[Android Only]**
```jsx
startOnFront
```
Optional, whether the view should call `view.bringToFront()` when the view is first loaded.
*Usually using zIndex does the trick. Use this in cases it doesn't*
#### `verticalOnly` (boolean)

@@ -107,0 +116,0 @@

@@ -172,2 +172,8 @@ <img src="http://i.imgur.com/ErA2GQo.gif" width=200 />&nbsp;&nbsp;&nbsp;&nbsp;

* [`startOnFront`](https://github.com/wix/react-native-interactable/blob/master/PROPS.md#startOnFront-boolean) - [ANDROID ONLY] whether the view should call `bringToFront`
```jsx
startOnFront
```
* [`verticalOnly`](https://github.com/wix/react-native-interactable/blob/master/PROPS.md#verticalonly-boolean) - whether the view should be locked to vertical movement only

@@ -174,0 +180,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc