Skip to content

[Shadow] Shadow does not appear if overflow: hidden is set #449

Description

@oisinlavery

iPhone 6, iOS 8.1.1

varTestKit=React.createClass({render: function(){return(<Viewstyle={styles.main}><Box/></View>);}});varBox=React.createClass({render: function(){return(<Viewstyle={styles.box}></View>);}});varstyles=StyleSheet.create({main: {flex: 1,backgroundColor: "#f1f1f1",justifyContent: "center",alignItems: "center"},box: {height: 100,width: 100,backgroundColor: "#ffffff",borderRadius: 10,shadowColor: "#000000",shadowOpacity: 0.8,shadowRadius: 2,shadowOffset: {height: 1,width: 0}}});

0

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