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

feat: Support contentPosition for image alignment #76

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aaronleopold
Copy link

Resolves #75

I'd like to point out the one TODO remark on the Kotlin side:

I can't find a way to support contentposition without overriding the scaleType

I tried to loosely base this off of expo-image's implementation. I recorded a brief demo, as well:

Screen.Recording.2025-03-07.at.12.30.15.PM.mov

On an unrelated note, I was able to get the iOS build sorted. So I'll revisit my other PR.

@gtokman
Copy link
Member

gtokman commented Mar 14, 2025

@aaronleopold will take a look today! Sorry for the delay.

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

Successfully merging this pull request may close these issues.

[FEATAURE] Support contentPosition for image alignment in viewbox
2 participants