How to have scroll zoom behave differently from drag zoom

I’m looking to have the scroll zoom feature only update the upper limit in y-axis range while having drag mode zoom behave as default plotly zoom behavior. Is there a way to achieve this using react plotly package?