To begin with, I wouldn't consider fish that are cruising the shallows in groups as bedding. When bass are bedded, they will be locked down to a very noticable bowl shaped depression on the bottom and you will see one or sometimes two fish only. From what you are describing, it sounds more like bass schooled up for feeding.
Just like your question being asked a million times, the same answer has been given each time. If you can see the bass, the bass can see you!
The next time you happen to see this type of thing taking place, you need to back away from these fish so that you don't spook them. If you can determine the bass' direction of travel, you will want to place your cast 6'-8' in front of the fish. Use a lightly weighted plastic worm, tube, grub, or even a weightless Senko, make a low angled cast that creates little or no splash, and then allow the bass to approach the bait on their own. If they are in a feeding mood you should get the bites you are looking for.
If the bass change direction after your cast, it indicates that the fish are spooked. You are better off to make a mental note of where these fish are and then move off for a half-hour or so before trying to sneak (very quietly) back to that area. In the meantime, moving down the bank may give you the chance to find other bass doing the same thing.