Why isn't 'drag' event working?

I’m trying to use the drag event to make users able to drag a container on the y axis, I literally copied these Phaser 3 examples on my project:


But even though it doesn’t work, the ‘drag’ event isn’t triggered and I don’t find any information about it. Can someone help me?