I want to prevent the onScan method call of any kind of keypress event from keyboard because it is altering my barcode scan input data. I tried "preventDefault" prop but did not get any success, please suggest me something on it.