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

SIDEBAR_MINIMIZER can not do toggle if home page has no SIDEBAR_MINIMIZER and Turbolinks navigate to other page #7

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

Eric-Guo
Copy link
Contributor

I guess due to upstream @coreui/coreui not consider the turbolink at all.

cybros_portal/node_modules/@coreui/coreui/js/src/sidebar.js

$(document).on(Event.CLICK, Selector.SIDEBAR_MINIMIZER, (event) => {
        event.preventDefault()
        event.stopPropagation()
        $(Selector.BODY).toggleClass(ClassName.SIDEBAR_MINIMIZED)
        this.perfectScrollbar(Event.TOGGLE)
      })

WechatIMG10

@jasl jasl added the bug Something isn't working label Apr 28, 2019
@monsterooo
Copy link

@Eric-Guo #10 Trying to solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants