Camera wont pan in knife tool

hi,so recently i switched the rotate camera button from middle mouse button to right mouse button and its going kinda pretty well but i ran into a problem where if im in knife tool mode,and i wanted to pan the camera it will cancel the tool

i tried changing the hotkey to “Shift RMB” instead of RMB to use it as a pan camera hotkey instead but it still cancels the knife tool everytime i pressed “Shift RMB”

what do i gotta do so i can use “Shift RMB” to pan the camera instead of cancelling it