The temperature limits only work, if the Fuel Gauge part of the MAX77818 is controlling the charging, not if the main charger is in control of the battery charging.
Fuel gauge monitors the batteries characteristics and provide alerts.
When the fuel gauge is enabled as the primary control of the charging, it will disable charging when the temperature threshold is reached.