fix: allow scroll in highlighting stage
This commit is contained in:
@@ -702,12 +702,6 @@ export const DOMBrowserRenderer: React.FC<RRWebDOMBrowserRendererProps> = ({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isInCaptureMode) {
|
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isInCaptureMode) {
|
if (!isInCaptureMode) {
|
||||||
const wheelEvent = e as WheelEvent;
|
const wheelEvent = e as WheelEvent;
|
||||||
const deltaX = Math.round(wheelEvent.deltaX / 10) * 10;
|
const deltaX = Math.round(wheelEvent.deltaX / 10) * 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user