Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Mobile-nav closes dropdowns on scroll #28

Open
ermsdev opened this issue Oct 23, 2019 · 2 comments
Open

Mobile-nav closes dropdowns on scroll #28

ermsdev opened this issue Oct 23, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ermsdev
Copy link
Member

ermsdev commented Oct 23, 2019

On iPhone 7, in Chrome, if you open the mobile nav, and then open a dropdown menu (departments or more), and then scroll while it is open the dropdown closes.

@ermsdev ermsdev added the bug Something isn't working label Oct 30, 2019
@atg7000
Copy link
Contributor

atg7000 commented Jan 23, 2020

When scrolling, the window resizes and the sub-menu closes.
https://stackoverflow.com/questions/9361968/javascript-resize-event-on-scroll-mobile/24312082#24312082
The resize function needs to be modified to check if the width is still the same so the sub-menu stays open

@atg7000 atg7000 assigned stacmi and unassigned atg7000 Jan 29, 2020
@stacmi
Copy link
Contributor

stacmi commented Feb 13, 2020

i am unable to recreate this in my environment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants