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

Overflow not working. #48

Open
jacoblukose opened this issue Dec 4, 2018 · 6 comments
Open

Overflow not working. #48

jacoblukose opened this issue Dec 4, 2018 · 6 comments

Comments

@jacoblukose
Copy link

jacoblukose commented Dec 4, 2018

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"
	},
@jgcmarins
Copy link

do you have any ss?

@jacoblukose
Copy link
Author

jacoblukose commented Dec 4, 2018

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.

@jgcmarins
Copy link

I suppose its screenshot :D

that's it \o/

@pedrobullo
Copy link

You should put in parent directly. Just nest overflowview

@hadnet
Copy link

hadnet commented Feb 24, 2019

Same thing here, it does not work.

@wangfpp
Copy link

wangfpp commented Jul 30, 2019

it don't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants