aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-17 18:06:57 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-17 18:06:57 -0400
commita8eb5d15d820b35e090fe45a578ffbb4d0a4592d (patch)
tree700a33df89708f5e1867039442424f8810a0712a /src/client/views/nodes/WebBox.tsx
parenteb9b495ef8ab0892ca7f8f818a2f691bc14b4583 (diff)
from last
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r--src/client/views/nodes/WebBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index b61d38d62..b48437464 100644
--- a/src/client/views/nodes/WebBox.tsx
+++ b/src/client/views/nodes/WebBox.tsx
@@ -350,6 +350,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum
}} >
{this.content}
<div className={"webBox-outerContent"} ref={this._outerRef}
+ style={{ pointerEvents: this.layoutDoc._nativeHeight ? "all" : "none" }}
onWheel={e => e.stopPropagation()}
onScroll={e => {
if (this._iframeRef.current!.contentDocument!.children[0].scrollTop !== this._outerRef.current!.scrollTop) {