A jump shot is supposed to be straight up and straight down down. The defender has to allow that Flaying your legs out 3 feet from your starting point is an offensive foul
I did not see anyone flailing their legs. Not sure what you watched.
I have seen players do that and completely agree when that happens but I cannot recall that happening even once today.