This commit is contained in:
Mirco Wittrien 2019-10-16 18:11:48 +02:00
parent 8b0e823359
commit de66daac0e
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -3390,7 +3390,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
onItemSelect: (value, instance) => {
instance.props.selectedItem = value;
instance.forceUpdate();
let modal = BDFDB.getParentEle('.BDFDB-modal', LibraryModules.React.findDOMNodeSafe(instance));
let modal = BDFDB.getParentEle('.BDFDB-modal', BDFDB.React.findDOMNodeSafe(instance));
if (modal) for (let tabcontent of modal.querySelectorAll(BDFDB.dotCN.modaltabcontent)) {
let tabcontentinstance = BDFDB.getReactValue(tabcontent, 'return.return.stateNode');
if (tabcontentinstance) {