You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the searchActiveCallback, searchEmptyCallback, searchBlurCallback and searchFocusCallback are global variables, different instances of the plugin will interfere.
For example, if a plugin instance gets initialized with a onSearchEmpty callback and another instance gets initialized after that without a onSearchEmpty callback, it will not be called for the first instance anymore.
This can be solved by moving the variables into the plugin instance.
The text was updated successfully, but these errors were encountered:
Because the
searchActiveCallback
,searchEmptyCallback
,searchBlurCallback
andsearchFocusCallback
are global variables, different instances of the plugin will interfere.For example, if a plugin instance gets initialized with a
onSearchEmpty
callback and another instance gets initialized after that without aonSearchEmpty
callback, it will not be called for the first instance anymore.This can be solved by moving the variables into the plugin instance.
The text was updated successfully, but these errors were encountered: