diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-18 13:42:03 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-18 13:42:03 -0400 |
commit | d3aebc8404685496673a8611a6d72ff7695ad191 (patch) | |
tree | 1b0d784ffe92aff04d80ad86a8f322851d0d85e9 /src/client/views/nodes/LinkBox.tsx | |
parent | 67c56296339bd1c760b704c1d14710ec6f575d49 (diff) |
several pointerevent fixes broken by last change. added scroll to target for webBox links.
Diffstat (limited to 'src/client/views/nodes/LinkBox.tsx')
-rw-r--r-- | src/client/views/nodes/LinkBox.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx index af4bf420f..740f2ef04 100644 --- a/src/client/views/nodes/LinkBox.tsx +++ b/src/client/views/nodes/LinkBox.tsx @@ -17,7 +17,6 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps, LinkDocument>( public static LayoutString(fieldKey: string) { return FieldView.LayoutString(LinkBox, fieldKey); } render() { return <div className={`linkBox-container${this.active() ? "-interactive" : ""}`} - onPointerDown={e => e.button === 0 && !e.ctrlKey && e.stopPropagation()} style={{ background: this.props.backgroundColor?.(this.props.Document) }} > <CollectionTreeView {...this.props} |