UI not working after deactivating and reactivating its Canvas

Hello people,
this is the video about the problem: UI_bug

I have a main menu with buttons that let me enable/disable different canvases for the settings, the garage etc…
This is the general UI structure: UI_hierarchy

Using those buttons for enabling the garage’s Canvas the first time does not give any problem, the issue comes when i return to MainMenu, click again the Garage Button and trying to click any button in the garage’s Canvas.

I simply use a method to enable/disable Canvas and GraphicRaycaster components, but i found out that enabling and disabling manually the Canvas component of Garage menu fixes the bug… so what’s happening? Do you have any idea?

Here is the link for the code that i’m using: canvas handling code

@N3rg4l Did you ever solve this issue? I found that my sub-canvases became unresponsive after exiting them the first time, but it seems to have been resolved by checking “override sorting” on the sub-canvas, so it seems that for me, at least, the issue arose from a drawing order problem that wasn’t obvious to me.