react-native-view-overflow icon indicating copy to clipboard operation
react-native-view-overflow copied to clipboard

Overflow not working.

Open jacoblukose opened this issue 7 years ago • 6 comments

My view component:

        <View style={cardImageContainer}>
           <Image source={source["uri"]} style={cardImage} />
        </View>

Used with overflow :

      <ViewOverflow>  
         <View style={cardImageContainer}>
             <Image source={source["uri"]} style={cardImage} />
         </View>
       </ViewOverflow>

But the above doesnt seem to work.

Styles:

	cardImageContainer: {
		height: 131,
		width: 85,
		overflow: "hidden",
		marginTop: 20,
		marginBottom: 21

		// borderColor: "green",
		// borderWidth: 0.5
	},
	cardImage: {
		height: 131,
		width: 85,
		opacity: 0.5,
		position: "absolute",
		right: 31,
		overflow: "visible"
	},

jacoblukose avatar Dec 04 '18 18:12 jacoblukose

do you have any ss?

jgcmarins avatar Dec 04 '18 19:12 jgcmarins

do you have any ss?

what is ss @jgcmarins .

I suppose its screenshot :D screen shot 2018-12-04 at 11 27 18 am

Right side of the shape is having overflow: visible.

jacoblukose avatar Dec 04 '18 19:12 jacoblukose

I suppose its screenshot :D

that's it \o/

jgcmarins avatar Dec 04 '18 19:12 jgcmarins

You should put in parent directly. Just nest overflowview

pedrobullo avatar Dec 18 '18 10:12 pedrobullo

Same thing here, it does not work.

hadnet avatar Feb 24 '19 05:02 hadnet

it don't work

wangfpp avatar Jul 30 '19 02:07 wangfpp