diff options
author | bobzel <zzzman@gmail.com> | 2023-11-14 22:08:00 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-11-14 22:08:00 -0500 |
commit | 20dba0dcdea12b6a6246973cb578ab5639316bfa (patch) | |
tree | 946d843fa01d1c311e315b94162c7dc2cf37835c /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 3817e7e380031a60b0d5cfe31bc350ca8f4f6056 (diff) |
fixed pointer events with nested views in texst boxes. fixed
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 764fa35cb..977039a1d 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2047,7 +2047,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps } @computed get fieldKey() { const usePath = StrCast(this.rootDoc[`${this.props.fieldKey}_usePath`]); - return this.props.fieldKey + (usePath && (!usePath.includes(':hover') || this._isHovering) ? `_${usePath.replace(':hover', '')}` : ''); + return this.props.fieldKey + (usePath && (!usePath.includes(':hover') || this._isHovering || this.props.isContentActive()) ? `_${usePath.replace(':hover', '')}` : ''); } @observable _isHovering = false; onPassiveWheel = (e: WheelEvent) => { |