Skip to content

Android: Webview: Improper support for VH and VW CSS measurement units #7103

@lolz0r

Description

@lolz0r

It appears that the CSS unit values VH and VW are not properly supported in react native's android webview. It looks like the system is treating these measurement values as 0's. I have verified that the same CSS / markup is properly loaded when viewed in a standard web browser on the device, just not when using a webview within a react native app.

I am using react native 0.24 on android. The same setup works correctly when using the IOS version of react native.

http://snook.ca/archives/html_and_css/vm-vh-units

Please advise :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions