Skip to content

[Bug] Box Shadow Color "Opacity" only allows HEX to enter not RGBA (cuts after 7 chars) #1547

@Manuel-SG

Description

@Manuel-SG

Nasty little bug in Elementor: Box Shadow Color "Opacity"

Hey there, please check and confirm. I just realised that there seems to be a bug in Elementor (at least since v1.17). The styling option "box shadow" is only accepting hex code (like #00000) and not RGBA Stuf (like rgba(0,0,0,0.4). You can not enter more than 7 chars - and you can only change default values by using the slider to change opacity.

Reproduction:
Go to a section or column for instance. Than go to "Style" --> "Background and Frame". Choose "Box Shadow" to "Yes". Click on Color and try to change the opacity / transparency of the color. It works with the slide control, but not with entering the numbers!
For instance, if I want to change
rgba(27,68,26,0.34)
to
rgba(27,68,26,0.25)
Than I can not change the value. I can delete .34 with backspace, but if I try to add .25 after deleting, Elementor does not "take the numbers".
Bug is still there in latest version (v1.4) without any plugins and with basetheme. In 2 different wordpress installments. One on php7 one on 5.6

Can you please fix this annoying bug? :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions