How to use Canvas slot?

I’m working on a widget and i dinamically add the slots to a SCanvas, but the item widget in the slot doesn’t react to the mouse. I changed the SCanvas with a SVerticalBox to see where the problem lies and the item widget works fine.
How can I make it works with SCanvas? Or is there another layout those slots allow widget creation at determined position?