Open Closed

LeptonX Angular scroll event suppressed #4708


User avatar
0
steve.burgess created
  • ABP Framework version: v7.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

It appears the the scroll event is being suppressed. This has start happening since upgrading to 7.0.1 and LeptonX.

It looks like it related to the virtual scrollbar that's been added.

Is there anyway to remove the virtual scrollbar or hook into its scroll events?

Cheers,

Steve.


5 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    Yes. LeptonX uses perfect scrollbar (and a angular wrappar library). That marked as deprecated and It has a bug. So we have changed.

    Could you updated your lepton-x dependenciyes to latest of "@volosoft/abp.ng.theme.lepton-x" like 2.0.4 or newer

  • User Avatar
    0
    steve.burgess created

    Hi,

    I've upgraded to version 2.0.4 but I'm still not seeing the scroll events.

    Just to clarify, I'm using the Lepton X Pro theme, will that make a difference?

    Cheers,

    Steve.

  • User Avatar
    0
    steve.burgess created

    Any update with this? Should it be possible to capture scroll events in the leptonx theme?

    Cheers,

    Steve.

  • User Avatar
    0
    alper created
    Support Team Director

    Sorry for the late response @mahmut is on it.

  • User Avatar
    0
    mahmut.gundogdu created

    Any update with this? Should it be possible to capture scroll events in the leptonx theme?

    Cheers,

    Steve.

    I have created a app (7.0.3) and tested. it works as expected. Could you update your app ? we are using perfect-scrollbar with a wrapper that name is https://www.npmjs.com/package/@craftsjs/perfect-scrollbar I have checked that library couldn't expose the scroll event. You can use top-menu layout. That doesn't have perfect scrollbar or you can use custom layout

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09