Open Closed

Lepton X without Perfect-Scrollbars #8497


User avatar
0
vondrm1 created

Hello, is it possible to turn off the perfect-scrollbars in the leptonx theme without to build our custom theme? There is some options or other methods ?

Thank's for reply

Milan

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    which UI?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    vondrm1 created

    We use MVC (Razor pages)

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    We will remove it starting from the Leptonx theme 4.1.0 version.

    You can try:

    Add a patch.js to wwwroot

    leptonx.init.push("initPerfectScrollbar", function(){
        console.log("Remove PerfectScrollbar method");
    })
    

    Add js file to the bundle

    Configure<AbpBundlingOptions>(options =>
    {
        
        options.ScriptBundles.Configure(
            LeptonXThemeBundles.Scripts.Global,
            bundle =>
            {
                bundle.AddFiles("/patch.js");
            }
        );
    });
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    vondrm1 created

    Hello, that works perfectly, thank you

    Milan

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.