Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical Scrolling #28

Closed
banderson5144 opened this issue Dec 16, 2015 · 13 comments
Closed

Vertical Scrolling #28

banderson5144 opened this issue Dec 16, 2015 · 13 comments

Comments

@banderson5144
Copy link

Will the menu scroll if there are a lot of items?

@negomi
Copy link
Owner

negomi commented Dec 16, 2015

Not by default, but you can achieve that behaviour with:

.bm-item-list {
  overflow-y: scroll;
}

@banderson5144
Copy link
Author

Great. So i did do that and it works. However, the body underneath it still scrolls. Any way to prevent that?

@negomi
Copy link
Owner

negomi commented Dec 17, 2015

I'm not quite sure what you mean. The page body, or something underneath the .bm-item-list element?

@banderson5144
Copy link
Author

The main body. Everything behind the overlay still scrolls

@negomi
Copy link
Owner

negomi commented Dec 17, 2015

Ah right. I can't seem to reproduce that - which animation are you using, and how is your page structured (e.g. do you have any wrapper elements before/after the menu)?

@negomi
Copy link
Owner

negomi commented Jan 21, 2016

Closing as no response for a while. Feel free to let me know if this is still an issue :)

@negomi negomi closed this as completed Jan 21, 2016
@devnull-cmd
Copy link

Unable to scroll the elements , I am using react-select as burgerMenu Items. When I add too many elements in select window, some bottom items gets half invisible.

@kevinguard
Copy link

Seeing the same issue.

@emeery
Copy link

emeery commented Dec 11, 2017

Hi negomi! How can I hide the vertical scroll, spread the bar a bit by adding some items, how can I hide it try this but it does not work

.bm-item-list {
  overflow-y: hidden;
}
 

@meiremans
Copy link

@emeery

.bm-item-list {
overflow-y: hidden !important;
}

@gHashTag
Copy link

gHashTag commented May 13, 2018

.bm-item-list { overflow-y: hidden !important; }

.bm-item-list { overflow-y: hidden; }

for me it does not work

my inline style:

bmItemList: { color: '#fff', marginTop: 80, marginLeft: 90 },

How can I disable the vertical scroll in windows os?

@gHashTag
Copy link

working:
.bm-menu { overflow-y: hidden !important; }

@vargemp
Copy link

vargemp commented Oct 12, 2021

For me this worked:
.bm-menu-wrap { overflow: auto; }

.bm-menu { overflow: visible !important; }

You could also have overflow: auto on .bm-menu, but then the cross icon was overlayed by scroll itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants