Coder Social home page Coder Social logo

Comments (7)

gaffarmalik avatar gaffarmalik commented on July 29, 2024 1

I also don't know why this happens. But it is not a problem of WebView Package. It has to do with your CSS. Setting <body> to height:0px helped me remove the unwanted space at the bottom.

body{
height: 0px !important;
}

from react-native-webview-autoheight.

wh-Coder avatar wh-Coder commented on July 29, 2024

我是个来自**程序员。我也碰到了这个情况,在ListVIew中,当数据不多,高度渲染正常,但是数据很多时,ListView里面的Item就会渲染不正常,WebView的高度会等于屏幕的高度


I am a Chinese code'r. I have encountered this situation, in ListVIew, when the data is not much, the high rendering normal, but the data is very large, ListView inside the Item will render is not normal, WebView height will be equal to the height of the screen。

source={{html: xxx}}

from react-native-webview-autoheight.

wh-Coder avatar wh-Coder commented on July 29, 2024

@dktan Did you solve it?

from react-native-webview-autoheight.

dktan avatar dktan commented on July 29, 2024

@wh-Coder 我换了react-native-autoheight-webview

from react-native-webview-autoheight.

scazzy avatar scazzy commented on July 29, 2024

@dktan could you send a PR?

from react-native-webview-autoheight.

Mimicx avatar Mimicx commented on July 29, 2024

it still happens!

from react-native-webview-autoheight.

shahid310khan avatar shahid310khan commented on July 29, 2024

Just set the scalesPageToFit={false}, will work like a charm.

from react-native-webview-autoheight.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.