this.updateStickyContext = fn}
>
- { collectionPreviewEnabled ? togglePreviewButton : null }
+ { collectionPreviewEnabled ? (
+
+ { previewVisible && (
+
+ ) }
+
+
+ ) : null }
+
{editor}
-
+
{
+ if (!this.props.enabled) return false;
// const node = evt.target
window.requestAnimationFrame(() => {
this.syncScrollPositions(node);