Skip to content

Commit d4b69be

Browse files
authored
fix: mentions getPopupCotainer value (#1850)
1 parent 92639ff commit d4b69be

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/mentions/index.jsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,7 @@ const Mentions = {
138138
},
139139
render() {
140140
const { focused } = this.$data;
141-
const {
142-
getPrefixCls,
143-
renderEmpty,
144-
getPopupContainer: getContextPopupContainer,
145-
} = this.configProvider;
141+
const { getPrefixCls, renderEmpty } = this.configProvider;
146142
const {
147143
prefixCls: customizePrefixCls,
148144
disabled,
@@ -164,7 +160,7 @@ const Mentions = {
164160
...otherProps,
165161
disabled,
166162
filterOption: this.getFilterOption(),
167-
getPopupContainer: getPopupContainer || getContextPopupContainer,
163+
getPopupContainer: getPopupContainer,
168164
children: this.getOptions(),
169165
},
170166
class: mergedClassName,

0 commit comments

Comments
 (0)