Dragging the square will display previews using different offsets (see source for details) in order to showcase all the different APIs

React is not working