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

How to scroll the page when side bar is opened ? #16

Closed
SebastienGicquel opened this issue Apr 12, 2016 · 8 comments
Closed

How to scroll the page when side bar is opened ? #16

SebastienGicquel opened this issue Apr 12, 2016 · 8 comments

Comments

@SebastienGicquel
Copy link
Contributor

Hello,

When side bar is opened, we can’t scroll the page. Is it possible to activate the scroll ?

Regards,

Sébastien

@ctrlmaniac
Copy link
Owner

As in apps, you can't scroll the page while the sidenav is opened.
But in feature releases I can add an option to do that

@SebastienGicquel
Copy link
Contributor Author

Hi,

I understand.

something like this would be nice :

$.fn.simplerSidebar.settings.scroll = true;

@ctrlmaniac
Copy link
Owner

Thanks for this advice, I will implement it asap

@ctrlmaniac
Copy link
Owner

ctrlmaniac commented Jul 25, 2016

That is now possible in v2.0.2 by adding this option:
events.callbacks.animation.freezePage: false.
Remember to hide the mask too: mask.display: false.

For more information, please read the changelog, inspect the options and play with the DEMO.

Upgrading without migrating will broke your scripts.

@SebastienGicquel
Copy link
Contributor Author

Hi,

Thank you for this update !

What do you mean by "Upgrading without migrating" ?

I thought i had only to replace with new plugin files and update js.

Regards,

/Sébastien

@ctrlmaniac
Copy link
Owner

ctrlmaniac commented Jul 26, 2016

Options have changed, so basically if you just update the js file, your web page will broke!
v1.* And v2.* are not compatible due to a [new options list](!
In the README everything is explained.
If you want some more explanations about the new options, you can inspect the documentation.
In the changelog folder there is the v2.0.2 file which explains the differences between the two versions!

If you need some help just write me, I will be happy to help!

@SebastienGicquel
Copy link
Contributor Author

Hi,

Thank you to have updated the plugin. Works like a charm. We can now scroll website when sidebar is opened.

See it in action : http://www.agencemagnum.com

@ctrlmaniac
Copy link
Owner

Awesome!

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

No branches or pull requests

2 participants