@capillarytech/creatives-library 8.0.324-alpha.0 → 8.0.325-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -207,11 +207,11 @@ class CapTagList extends React.Component { // eslint-disable-line react/prefer-s
|
|
|
207
207
|
} else {
|
|
208
208
|
this.props.onSelect(selectedKeys, info);
|
|
209
209
|
this.setState({visible: false});
|
|
210
|
+
this.setState({expandedKeys: []})
|
|
210
211
|
}
|
|
211
212
|
} else if (info && info.selectedNodes && info.selectedNodes.length > 0 && !info.selectedNodes[0].props.isLeaf) {
|
|
212
213
|
this.handleOnExpand(selectedKeys[0]);
|
|
213
214
|
}
|
|
214
|
-
this.setState({expandedKeys: []})
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
|
|
@@ -237,7 +237,7 @@ class CapTagList extends React.Component { // eslint-disable-line react/prefer-s
|
|
|
237
237
|
/** Single-line ellipsis within popover width; full label on hover via CapTooltip. */
|
|
238
238
|
wrapTreeTitle = (displayNode, text) => (
|
|
239
239
|
<CapTooltip title={displayNode}>
|
|
240
|
-
|
|
240
|
+
{text || displayNode}
|
|
241
241
|
</CapTooltip>
|
|
242
242
|
);
|
|
243
243
|
|
|
@@ -467,7 +467,6 @@ class CapTagList extends React.Component { // eslint-disable-line react/prefer-s
|
|
|
467
467
|
visible={fetchingSchemaError ? false : visible}
|
|
468
468
|
onVisibleChange={this.togglePopoverVisibility}
|
|
469
469
|
content={contentSection}
|
|
470
|
-
overlayClassName="cap-tag-list-popover-overlay"
|
|
471
470
|
trigger="click"
|
|
472
471
|
placement={this.props.popoverPlacement || (channel === EMAIL.toUpperCase() ? "leftTop" : "rightTop")}
|
|
473
472
|
overlayStyle={overlayStyle}
|