We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d08b116 commit 6dbfff7Copy full SHA for 6dbfff7
packages/ve-dropdown/src/index.jsx
@@ -289,14 +289,12 @@ export default {
289
290
// before visible change callback
291
beforeVisibleChangeCallback(nextVisible) {
292
- // console.log("nextVisible22::", nextVisible);
293
const { beforeVisibleChange, isDropdownVisible } = this;
294
295
- if (nextVisible === isDropdownVisible) {
296
- return false;
297
- }
298
-
299
- if (isFunction(beforeVisibleChange)) {
+ if (
+ nextVisible !== isDropdownVisible &&
+ isFunction(beforeVisibleChange)
+ ) {
300
// next visible
301
return beforeVisibleChange({
302
nextVisible,
0 commit comments