Site logo

Archived topic

OverflowScroll Reset when menu is close

7 replies · Started by jose on November 23, 2020

Viewing posts 1–8 of 8

I have a off canvas menu. So:

  1. I open the menu canvas with elements
  2. I scroll down over the elements
  3. I close the menu
  4. I open the menu
  5. 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

  1. I open the off canvas menu with elements (a lot)
  2. I scroll down over the elements
  3. I close the menu (so i am in the last element)
  4. I open the menu
  5. 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.

This archived topic is closed to new replies.