Remove option to drag and resize the selection

Hi Team,
I have updated plotly new version and I am seeing dragable and moveable options after box selection, How can we disable the features

Please do advice

I have completed with CSS, change pointer options to ‘none’, and hide the resize buttons

I found a simpler approach to disable resizing:

Plotly.relayout(graphDiv, { selections: [{ type: 'path' }] })

Ref: Layout.selections in JavaScript

But it doesn’t disable dragging.

Or you can use editselection