Issue #3267Opened February 11, 2021by mosh-tudor1 reactions

BUG: Cannot set 0px box shadow blur

Question

For some reason, the editor does not allow to set the blur to 0px. 0 always magically turns into 5px.

<img width="243" alt="Screenshot 2021-02-11 at 17 14 05" src="https://user-images.githubusercontent.com/668451/107664461-ba321e00-6c8c-11eb-91ce-4e8a87a2e33c.png">

Are you able to reproduce the bug from the demo? Yes

You can find this bug here: https://grapesjs.com/demo.html

Answers (3)

artfFebruary 8, 20221 reactions

This one should already be fixed

artfFebruary 19, 20210 reactions

Thanks, I guess there is some falsy check with the 0 which leads to the default 5px value.

akankshach29March 1, 20210 reactions

Would like to help fix this bug. Will raise a PR.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.