Archived topic
OverflowScroll Reset when menu is close
7 replies · Started by jose on November 23, 2020
I have a off canvas menu. So:
- I open the menu canvas with elements
- I scroll down over the elements
- I close the menu
- I open the menu
- Automatically the menu elements goes to the top
Its posible that the point 5 just happend when I close the menu instead when I reopen the menu? Calling some function or something like this... THX
Hi there,
Not sure if I fully understand.
Can you link us to the page in question to help us visualize?
Thanks :)
Sorry its in local
- I open the off canvas menu with elements (a lot)
- I scroll down over the elements
- I close the menu (so i am in the last element)
- I open the menu
- Automatically the menu elements goes from the last element to the first element.
I want the step 5 when I close the menu. So when you open the menu you dont see the menu scrolling automatically from the last one to the first one.
Any chance you could provide a screencast of this is ? Really tricky for us to visualise.
I think the video will be enought. THX!
That would require some custom javascript - and even then i am not sure how that would work. Maybe raise a topic on Stackoverflow to see if the gurus have an idea.
But Its weird, because I have old websites with off-canvas and it doesnt happen. I think Its related with something new in the theme
Anyway I cant open nothing in stackoverflow because Its related with the theme.
If you can share a link to the problem site, and a link to a working site then i am happy to take a look.