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

Collapse sidebarmenu sometimes does not work #71

Open
TasneemWahdan opened this issue Jul 25, 2021 · 2 comments
Open

Collapse sidebarmenu sometimes does not work #71

TasneemWahdan opened this issue Jul 25, 2021 · 2 comments

Comments

@TasneemWahdan
Copy link

Sidebar menu does not collapse most of the time.
I noticed that there is a relation between drop down menus and sidebar menu, only one of them work properly at one moment.
Uploading coreui_menu_issue.jpg…

@TasneemWahdan
Copy link
Author

Oh finally I found the solution!
It was popper.js cdn!!
I replaced this one

<script src="https://unpkg.com/@popperjs/[email protected]"></script>

with:

<script src="https://unpkg.com/@coreui/[email protected]/dist/js/coreui.bundle.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.9.2/umd/popper.min.js" integrity="sha512-2rNj2KJ+D8s1ceNasTIex6z4HWyOnEYLVC3FigGOmyQCZc2eBXKgOxQmo3oKLHyfcj53uz4QMsRCWNbLd32Q1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

and now everything is working fine!

@mmradmtr
Copy link

Oh finally I found the solution! It was popper.js cdn!! I replaced this one

<script src="https://unpkg.com/@popperjs/[email protected]"></script>

with:

<script src="https://unpkg.com/@coreui/[email protected]/dist/js/coreui.bundle.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.9.2/umd/popper.min.js" integrity="sha512-2rNj2KJ+D8s1ceNasTIex6z4HWyOnEYLVC3FigGOmyQCZc2eBXKgOxQmo3oKLHyfcj53uz4QMsRCWNbLd32Q1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

and now everything is working fine!

Thanks!! 💓💓
it worked

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

2 participants