Skip to content

Conversation

@googleknight
Copy link
Contributor

Fixes #1953

Issue

In profile picture edit section, when a user selects a circle border radius, clicks on the numeric input for the border radius, and then clicks outside, the onBorderRadiusChange function is triggered and receives an empty string ("") as the value.

Fix

So updated the code to check for empty string as being done in onAspectRatioChange function.

@googleknight googleknight changed the title fix(edit profile picture): fix the crash happening when clicking on circular border radius fix(edit profile picture): fix the page crash happening when clicking on circular border radius Jun 27, 2024
@googleknight
Copy link
Contributor Author

@AmruthPillai Could you please review the fix ?
Thanks!

@AmruthPillai
Copy link
Owner

Good solution, thank you for the fix!

@AmruthPillai AmruthPillai merged commit 92856b6 into AmruthPillai:main Jan 12, 2025
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.

[Bug] Profile Picture aspect ratio adjustment crash

2 participants