Consider violation warning for event listeners

Posted by: davide.vago on 16 March 2021, 9:50 pm EST

  • Posted 16 March 2021, 9:50 pm EST

    Good morning/afternoon

    I'm reaching you out as I had this request in mind for a while.
    It would be really great if you could look into the Chrome violation about active event listeners, please check the attached screenshot:

    Chrome warns within the dev tools console when initialising the Workbook with some attached events about usage of active listeners, note simply switching events to passive you dramatically improve scrolling performances.

    You can reproduce the issue within your SpreadJS demo pages e.g.

    Thanks in advance.

  • Replied 17 March 2021, 6:54 pm EST

    Hi Davide,

    We are able to replicate the issue at the end hence we have escalated this issue to the concerned team for further investigation. We will update you regarding this as soon as we get any information from the team. The internal ID for this issue will be SJS-8030.

  • Marked as Answer

    Replied 22 March 2021, 2:15 pm EST

    Hi Davide,

    The Devs informed us that this is not something that we could enhance because of the way we implemented scrolling in SpreadJS: it is not actually scrolling but rather repainting the canvas area.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels