They feed on fungus, that's why they are called fungus gnats, lol.
Where the drain holes are in the pots, is where the slimy fungus grows, because it get's light and stays the wettest, I guess. It's never been a problem before, I've had fabulous results with this container and medium.