# Crash when trying to modify gradient

**URL:** <https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298>\
**Category:** Ask the community\
**Created:** [September 20, 2022, 9:15am UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298 "2022-09-20T09:15:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mflerackers](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/mflerackers/32/1325_2.png) [@mflerackers](https://community.penpot.app/u/mflerackers)\
**Post date:** [September 20, 2022, 9:15am UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/1 "2022-09-20T09:15:35Z")

</div>

Every time I try to edit a gradient, the site crashes (I’m using design.penpot.app). Is this a known problem and is there a solution?

This is the traceback

– Spec failed --------------------

{:y …,  
:transform …,  
:rotation …,  
:grow-type …,  
:index …,  
:name …,  
:width …,  
:type …,  
:points …,  
:r2 …,  
:proportion-lock …,  
:transform-inverse …,  
:r3 …,  
:r1 …,  
:id …,  
:parent-id …,  
:frame-id …,  
:strokes …,  
:x …,  
:proportion …,  
:r4 …,  
:selrect …,  
:fills [{:fill-color-gradient {:start-x 0.5,  
:start-y 0,  
:end-x 0.5,  
:end-y 1,  
:width 1,  
:type :linear,  
:stops  
[{:color “#d6f4f4”, :file-id nil, :offset 0, :opacity nil, :id nil}  
{:color “#d6f4f4”, :file-id nil, :offset 1, :opacity 0, :id nil}]}}],  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…  
errors.cljs:191:7

---

<div class="post-metadata">

**Author:** ![myfunnyandy](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/myfunnyandy/32/54_2.png) [@myfunnyandy](https://community.penpot.app/u/myfunnyandy)\
**Post date:** [September 20, 2022, 10:29am UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/3 "2022-09-20T10:29:33Z")

</div>

I couldn’t reproduce the error. Could you check if is still happening? If so, can you provide us info about the enviroment (saas or self hosted), hardware and browser?

Thanks!

---

<div class="post-metadata">

**Author:** ![mflerackers](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/mflerackers/32/1325_2.png) [@mflerackers](https://community.penpot.app/u/mflerackers)\
**Post date:** [September 20, 2022, 10:55am UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/4 "2022-09-20T10:55:33Z")

</div>

I’m using the official [design.penpot.app](http://design.penpot.app) website. It is still happening. I can send you the file if it helps.

---

<div class="post-metadata">

**Author:** ![carolina.portugal](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/carolina.portugal/32/36_2.png) [@carolina.portugal](https://community.penpot.app/u/carolina.portugal)\
**Post date:** [September 20, 2022, 11:52am UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/5 "2022-09-20T11:52:47Z")

</div>

Hi @mflerackers, could you tell us which browser are you using?

---

<div class="post-metadata">

**Author:** ![myfunnyandy](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/myfunnyandy/32/54_2.png) [@myfunnyandy](https://community.penpot.app/u/myfunnyandy)\
**Post date:** [September 20, 2022, 12:01pm UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/6 "2022-09-20T12:01:41Z")

</div>

No need, we’ve already digged into the problem and have some clues. It seems to be related to the use of gradients along with shadows. We hope to fix it soon.

---

<div class="post-metadata">

**Author:** ![mflerackers](https://dub1.discourse-cdn.com/flex017/user_avatar/community.penpot.app/mflerackers/32/1325_2.png) [@mflerackers](https://community.penpot.app/u/mflerackers)\
**Post date:** [September 20, 2022, 12:06pm UTC](https://community.penpot.app/t/crash-when-trying-to-modify-gradient/1298/7 "2022-09-20T12:06:35Z")

</div>

Firefox 104.0.2 on OSX 12.6
