fix(List): skip check when inside an inactive tab (#8741)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { inject, ComputedRef } from 'vue';
|
||||
|
||||
// eslint-disable-next-line
|
||||
export const TAB_STATUS_KEY = Symbol();
|
||||
|
||||
export function useTabStatus() {
|
||||
return inject<ComputedRef<boolean> | null>(TAB_STATUS_KEY, null);
|
||||
}
|
||||
Reference in New Issue
Block a user