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

react-native-autoheight-webview

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-autoheight-webview - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

9

autoHeightWebView/index.ios.js

@@ -133,14 +133,9 @@ 'use strict'

// note that it can not get height when there are only text objects in a html body which does not make any sense
const BaseScript =
`
; (function () {
var wrapper = document.createElement('div');
wrapper.id = 'height-wrapper';
while (document.body.firstChild) {
wrapper.appendChild(document.body.firstChild);
}
document.body.appendChild(wrapper);
var i = 0;
function updateHeight() {
document.title = wrapper.clientHeight;
document.title = document.body.firstChild.clientHeight;
window.location.hash = ++i;

@@ -147,0 +142,0 @@ }

{
"name": "react-native-autoheight-webview",
"version": "0.2.1",
"version": "0.2.2",
"description": "An auto height webview for React Native",

@@ -5,0 +5,0 @@ "main": "autoHeightWebView",

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