Skip to content

React-native #18186

Closed
Closed

Description

@mhafizrb

(Describe your issue in detail.)

Environment

(Run react-native info in your terminal and paste its contents here.)

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Include screenshots if needed.)

Steps to Reproduce

(Link to Snack, or steps to reproduce.)

Activity

  1. mhafizrb commented on Mar 4, 2018

    @mhafizrb
    Author

    import React, { Component } from 'react';
    import { Image, ScrollView, Text } from 'react-native';

    class AwkwardScrollingImageWithText extends Component {
    render() {
    return (

    <Image
    source={{uri: 'https://i.chzbgr.com/full/7345954048/h7E2C65F9/'}}
    style={{width: 320, height:180}}
    />

    On iOS, a React Native ScrollView uses a native UIScrollView.
    On Android, it uses a native ScrollView.

          On iOS, a React Native Image uses a native UIImageView.
          On Android, it uses a native ImageView.
    
          React Native wraps the fundamental native components, giving you
          the performance of a native app, plus the clean design of React.
        </Text>
      </ScrollView>
    );
    

    }
    }

  2. locked as spam and limited conversation to collaborators on Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions