Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView render error #21857

Closed
banli17 opened this issue Oct 19, 2018 · 2 comments
Closed

WebView render error #21857

banli17 opened this issue Oct 19, 2018 · 2 comments
Labels
Component: WebView Related to the WebView component. Resolution: Locked This issue was locked by the bot.

Comments

@banli17
Copy link

banli17 commented Oct 19, 2018

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 34.29 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.2 => 0.57.2
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-create-library: 3.1.2

Description

import React, {Component} from 'react';
import {
    Alert, View, ActivityIndicator, Platform, WebView
} from 'react-native'

export default class CommonWebView extends Component {

    constructor(props) {
        super(props)
    }

    render() {
        return (
            <WebView
                source={{uri: 'https://10010nm.com/netShop/index.jhtml?shop=8427'}}
            />
        )
    }
}

result

the dialog is not display clear. like this

image

but . i use mobile self brower and other brower open link https://10010nm.com/netShop/index.jhtml?shop=8427 , it's below.

image

the dialog is ok.

@react-native-bot react-native-bot added Component: WebView Related to the WebView component. 🔶Components labels Oct 19, 2018
@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@Titozzz
Copy link
Collaborator

Titozzz commented Oct 22, 2018

React-native Webview component is being extracted to https://github.com/react-native-community/react-native-webview. Please if that bug still exists with the extracted component, open an issue on the other repository, as it will probably be easier to get attention there.

Thank you !

@Titozzz Titozzz closed this as completed Oct 22, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Oct 22, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: WebView Related to the WebView component. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants