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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Text clipping issue during transition animations. #2

Merged

Conversation

hemantj99
Copy link
Contributor

@hemantj99 hemantj99 commented Apr 15, 2024

馃幆 Goal

The changes in this pull request address an issue where text were being cut off during transition animations from HomeScreen to DetailScreen.

Current Behavior

VID_20240415225524.mp4

After Fix Behavior

1000058203.mp4

馃洜 Implementation details

This Pull Request addresses a text clipping issue during transition animations by rearranging the modifier property for the Text composable within the PokemonCard component. By moving the padding configuration after the pokedexSharedElement modifier, we ensure proper padding application without affecting the shared transition behavior. These changes helps resolving text clipping problems while maintaining code readability and adherence to best practices.

鉁嶏笍 Explain examples

Explain examples with code for this updates.

Preparing a pull request for review

Ensure your change is properly formatted by running:

$ ./gradlew spotlessApply

Please correct any failures before requesting a review.

Copy link
Owner

@skydoves skydoves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you for your contribution @hemantj99 馃憤

@skydoves skydoves merged commit af321df into skydoves:main Apr 16, 2024
2 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.

None yet

2 participants