AddAPhoto Icon clip-path causes icon to not display under specific circumstances #12441
Closed
1 task done
Labels
bug 🐛
Something doesn't work
component: SvgIcon
The React component.
external dependency
Blocked by external dependency, we can’t do anything about it
If you render the AddAPhoto icon in a parent that toggles visibility between hidden and visible, then render multiple of these components on the screen all icons are hidden if the first one is hidden. No matter how you toggle the remaining component.
If the clip-path is removed from the icon then it renders properly.
Expected Behavior
The icons should hide and show irrespective of other components on the page.
Current Behavior
The first icon toggles correctly and all other instances of the icon only toggle properly if the first one is visible.
Steps to Reproduce
Link: https://codesandbox.io/s/o5y25ll0jq
Context
We have a page with multiple components that transition between visibility and these components have icons in them. The AddAPhoto icon no longer displays properly due to the clip-path.
Your Environment
The text was updated successfully, but these errors were encountered: