Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Redraw issue if menu is hidden #31

Closed
bdbogjoe opened this issue Jan 17, 2014 · 6 comments
Closed

Redraw issue if menu is hidden #31

bdbogjoe opened this issue Jan 17, 2014 · 6 comments

Comments

@bdbogjoe
Copy link

i create a simple example : http://jsfiddle.net/5rjg9/13/

it works just fine, but if you resize window while the menu is collapsed (in my case the menu is hidden)), it does not open anymore, i have to refresh the page

@adgsm
Copy link
Owner

adgsm commented Jan 17, 2014

it opens for me... (tested just in chrome though...)
btw, what do you want to achieve with

onMenuReady : function() {
            $(this).hide();
        },

@bdbogjoe
Copy link
Author

i want to fully hide menu at startup

sorry one css was missing, here the new one : http://jsfiddle.net/5rjg9/15/

@adgsm
Copy link
Owner

adgsm commented Jan 17, 2014

!important

in css will definitely break its functionality. Do you really need it?

initializing menu with

collapsed : true,
fullCollapse : true,

should be just enough to hide menu at the startup.

if you're just trying to avoid the flash of unstyled content please take a look at issue #7 .

@bdbogjoe
Copy link
Author

if i use
collapsed : true,
fullCollapse : true,

menu is collapsed, but not fully hidden

about width 100%, i want a menu with 100% width of page, it is possible to have it without using css ?
possible to add one setting for this ?

@adgsm
Copy link
Owner

adgsm commented Jan 17, 2014

menuWidth: '100%',

@bdbogjoe
Copy link
Author

yeahhhh !!

You have definitely the best push menu 👍

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

No branches or pull requests

2 participants