black bar at the end of the gradient

hey, I have a problem when I want to apply a gragient, a black bar appears at the end, this is especially annoying when I apply it from two sides and can’t remove it later manually



Screenshot 2024-06-29 084929