spec fixes
This commit is contained in:
parent
c4b2d1878a
commit
35d189d6a7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export const canShowActiveSubItems = (el) => {
|
|||
export const canShowSubItems = () => bp.getBreakpointSize() === 'sm' || bp.getBreakpointSize() === 'md' || bp.getBreakpointSize() === 'lg';
|
||||
|
||||
export const getHideSubItemsInterval = () => {
|
||||
if (!currentOpenMenu || mousePos.length >= 1) return 0;
|
||||
if (!currentOpenMenu || !mousePos.length) return 0;
|
||||
|
||||
const currentMousePos = mousePos[mousePos.length - 1];
|
||||
const prevMousePos = mousePos[0];
|
||||
|
|
Loading…
Reference in a new issue