You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this, the easiest solution (for me and for Google engineers) would be to put the upload button in the children and to show it over, i.e. to do something like this:
<Avatar src={myAvatarUrl}><UploadIcon /></Avatar>
But it doesn't work because when src is set, the children are not taken into account.
Motivation 🔦
I would like to implement the avatar upload button in this Google Account page:
For this, the easiest solution (for me and for Google engineers) would be to put the upload button in the children and to show it over, i.e. to do something like this:
But it doesn't work because when
src
is set, thechildren
are not taken into account.Summary
I propose to do a PR to replace the
if/else
at this position by:The text was updated successfully, but these errors were encountered: