In an SVG displayed in a browser or app, the circle fits, but the blue shadow ends at a vertical line. If enlarging the viewBox leaves that line in the same place relative to the circle, check the filter region in the SVG code.
Locate the hard edge
Open the editable SVG comparison. Both circles have center (60,56), radius 24, and a shadow shifted 18 units to the right with a blur standard deviation of 3. The right edge of the circle is at x=84. The default region adds 10% of its 48-unit width on the right, reaching about x=89. The shifted silhouette already reaches x=102 before the blur fades. The default region cuts through it. Filter regions in the specification.
Expand the filter around the effect
Use userSpaceOnUse to set the region in the same coordinates as the circle. This example gives the blur room to fall off before the region ends at x=120.
<filter id="shadow" filterUnits="userSpaceOnUse"
x="12" y="18" width="108" height="76">
<feDropShadow dx="18" dy="0" stdDeviation="3"
flood-color="#88a5ff"/>
</filter>
<circle cx="60" cy="56" r="24" fill="#a5e4cf"
filter="url(#shadow)"/>
Keep the shape and shadow settings fixed while changing the region. Check that the hard edge disappears in the preview and the receiving renderer. If it still ends at the SVG’s outer edge, inspect the viewBox and any clipping on the embedding element. The larger filter region fixes the internal cut. Keep it close to the actual effect, since a larger area gives the renderer more pixels to process.