An SVG can have a complete path and still lose part of its outline when opened as an image. The file's viewBox may describe the path's centerline bounds and leave no room for its stroke. Reproduce the cut with the delivered file before editing the shape.
Separate the path from the painted area
In this example, the centerline reaches x=8 and x=56. Its 8-unit stroke adds four units on each side, so the painted sides reach x=4 and x=60. The bottom stroke extends past y=56 as well. The tight viewBox="8 8 48 48" starts at x=8 and ends at x=56, cutting through both sides.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="8 8 48 48">
<path d="M8 14 V34 Q8 56 32 56 Q56 56 56 34 V14"
fill="none" stroke="#ffae37" stroke-width="8"
stroke-linecap="round"/>
</svg>
Save the snippet as an SVG file and open it in the receiving page as an image. Then make a copy and change only the viewBox to 0 0 64 64. At the same display size the copy shows the complete outline with margin, and the symbol appears slightly smaller because a larger source area fits into the same viewport.
The four numbers specify the source rectangle's minimum x and y, width, and height. The third number in 8 8 48 48 is a width of 48, so its right edge is 56. See the SVG 2 viewBox definition and stroke geometry.
Check the actual export
Use the visible painted bounds when setting the export area. Account for round or square caps, sharp joins, markers, transforms and any effect that extends past the path. The four-unit calculation applies to the simple stroke in this example. Inspect complex artwork at its target size rather than applying that number to every edge.
Open the new SVG in the same component, at the smallest intended size and beside neighboring icons. Check the complete contour and its apparent scale. If the raw file is complete but the component still crops it, inspect the component's sizing or clipping. If both files cut the same detail, look for an inner clipping path or filter region before expanding the outer viewBox again.