From 4bb3ffadebb4b355fb089d200417c8fc25ca5946 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 14 Aug 2021 16:01:32 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 6d2001d8f5..ac75026b5f 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -4937,7 +4937,7 @@ module.exports = (_ => { nativeClass: this.props.nativeClass }) }); - return BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Button, { + const button = BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.Button, { look: InternalComponents.LibraryComponents.Button.Looks.BLANK, size: InternalComponents.LibraryComponents.Button.Sizes.NONE, "aria-label": this.props.label, @@ -4950,6 +4950,10 @@ module.exports = (_ => { onMouseLeave: this.props.onMouseLeave, children: this.props.tooltip && this.props.tooltip.text ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TooltipContainer, Object.assign({}, this.props.tooltip, {children: inner})) : inner }); + return (this.props.className || "").indexOf(BDFDB.disCN.textareapickerbutton) > -1 ? BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.textareapickerbuttoncontainer, + children: button + }) : button; } }; InternalBDFDB.setDefaultProps(InternalComponents.LibraryComponents.ChannelTextAreaButton, {tabIndex: 0});