How can I fix a Ikea Kallax shelf door
I would first remove the door from its support panel.
Then screw and glue the panel to the side, locating it correctly and clamp it into place. Either use G-clamps or even make some wedges.
Once properly dry refit the door.