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

Merged
merged 2 commits into from
Mar 23, 2025

Conversation

aaronleopold
Copy link
Contributor

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.

@gtokman gtokman merged commit 489551a into candlefinance:main Mar 23, 2025
3 checks passed
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