8000 How can I load custom scrollbar with turbolinks? · Issue #597 · turbolinks/turbolinks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
How can I load custom scrollbar with turbolinks? #597
Open
@toxifiedmatrix

Description

@toxifiedmatrix

How to load custom scrollbar, alongside turbolink page reload. The custom scrollbar loads at the first page load, but after re-directing to the navigation links, the scrollbar breaks. Here is the DOM where the scrollbar wrapper is placed.

Here is the library which I am currently using idiotWu/smooth-scrollbar.

  • resource/views/layouts/app.blade.php
<body>
        <div id=“scroll-wrapper>
        
               <!- - Content- ->
                
        </div>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0