-
Notifications
You must be signed in to change notification settings - Fork 154
Issues with CircularOutline / StrokeButton #225
Comments
Yeah this is really weird. I spent some time looking into this a couple months back. The issue is that our button outlines are really unconventional; they're SVG paths. We do that rather than just using
EDIT: Realized that won't work, since we'd lose the ability to see through inside the outline; our sidebar icons have some padding between the outline and the icon, and it's in front of a gradient background, so that wouldn't work. Although, this is only an issue with If we do that, it should fix this issue, and also be a step in the right direction for #227 (I'll add more thoughts there) |
I did a quick test with It's really a weird issue. If I'm toggeling the css text color of the It would be nice to fix. Changing to FillButton fixes the Add Dependency problem but we could get the issue at another location if we're using |
Yeah. It's strange that we haven't seen it elsewhere, it's not clear exactly what the repro conditions are. I'm guessing this is a Chrome issue, and it may be fixed in future releases of Electron. So while I'd definitely like to find a solution (likely involving a different implementation of |
Ok, this is causing more issues. In our new project-configuration modal, we have many icons, and each icon requires additional render cycles. All of this happens while the modal is opening, which means the animation is choppy and awful I think the solution could involve clip-path. What if it was a background gradient, but then CSS clip-path was used to "cut out" a border. It's a non-trivial problem since clip-path doesn't support rounded rectangles, so the path would have to be derived using circles and rectangles... but it's possible, and it would solve this issue. We might have to provide a We'd lose the fact that the icons can "draw themselves", but we can replace it with a fade in/out animation. It's not as snazzy, but it's better than having a janky application, haha. More info: https://stackoverflow.com/questions/31765345/how-to-round-out-corners-when-using-css-clip-path |
Another issue: The icons blink quickly on mount: https://user-images.githubusercontent.com/3046542/45642429-6a010280-bab8-11e8-952f-af611493a5c5.gif |
Describe the bug
After a dependency install is initiated by clicking Add To Project, all other Add To Project buttons lose their green border. Strangely, this only seems to occur when installing the first search result (see screenshots).
To Reproduce
Expected behavior
Search results for other dependencies shouldn't be affected.
Screenshots
Vanishing border when installing first result
Borders remain when installing a subsequent result
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: