Act according to; left as it is; unchanged.
Long explanation:
The ~ままに grammar point is used to express acting according to something, or leaving something as it is, without making any changes. It can also be used when something happens naturally, or without any control over it. The formation differs depending on whether it is used with a verb, い-adjective, な-adjective, or noun.