This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Bug: gradient presets shows linear input selections when radial is selected #903
Labels
[Type] Bug
Something isn't working
Describe the bug
When using a group block and a paragraph inside I stumbled upon a bug in the ”Background Color”-section in the ”Color Settings”-panel in the editor. When selecting a gradient preset, I can select Radial in the dropdown menu. When doing so the input fields for linear manipulation is still visible, even though they should be hidden. (Compare to other default Twenty-themes.) When changing the values in the input-fields, the block crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The input fields from Linear-gradient should be hidden when selecting Radial.
Screenshots
![image](https://user-images.githubusercontent.com/11491369/100613900-8f832b00-3315-11eb-972e-a359ab8bfe29.png)
![image](https://user-images.githubusercontent.com/11491369/100613914-9873fc80-3315-11eb-8496-225434c5077a.png)
Editor version (please complete the following information):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: