-
Notifications
You must be signed in to change notification settings - Fork 596
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
Sidr Flash on load OR does not open #304
Comments
Make sure you have the negative default position on your sidebar (left/right classes) because the sidebar should be off the screen by default. Can you share the URL with the issue? ps: If you want to use display:none; simply add another event to your button click that opens the sidr to also apply a display block (or apply it on window load, your choice) - simple fix ;) |
The default left/right positions are there, and this bug still exists. Happens on all browsers, but on Chrome it flashes on the left regardless of menu position with no animation, and on Safari we get it on the correct side, quickly transitioning out. https://www.dealerinspire.com/tddsprogram/index.php/fuel-parts-possibilities/ Using the display:none hack doesn't work, the menu opens, but then fails to close. |
This worked: CSS:
JS:
|
I had Sidr 1.2.1 working on a web site and I updated it to 2.2.1 ...
With this change Sidr does now show anymore ... I then removed "display: none;" from the Sidr containing DIV and it works but it flashes on page load ...
I have seen that other people has this problem but the point is that adding "display: none;" solves the Flash problem on load but then the menu does not open anymore ...
Any idea when this bug will be solved or how to work around it?
The text was updated successfully, but these errors were encountered: