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

fix(edit profile picture): fix the page crash happening when clicking on circular border radius #1978

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

googleknight
Copy link

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
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
1 participant