Project

Profile

Help

Feature #5923

closed

Provide a way to control event listener parameters

Added by Martynas Jusevicius about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
IXSL extensions
Sprint/Milestone:
-
Start date:
2023-03-17
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
Trunk
Fix Committed on JS Branch:
Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
Martynas Jusevičius
Contact person:
Martynas Jusevičius
Additional contact persons:
-

Description

I'm getting this warning in a <xsl:template match="svg:svg" mode="ixsl:onwheel"> template:

Ignoring 'preventDefault()' call on event of type 'wheel' from a listener registered as 'passive'.

I haven't set the passive parameter, so I suppose SaxonJS has?

Can we have a get a general mechanism for controlling event listener parameters? I'm imagining something like this:

<xsl:template match="svg:svg" mode="ixsl:onwheel" ixsl:event-options="map{ 'capture': true(), 'passive': false() }">

Files

Screenshot 2023-05-20 181518.png (86.8 KB) Screenshot 2023-05-20 181518.png Martin Honnen, 2023-05-20 18:18

Please register to edit this issue

Also available in: Atom PDF Tracking page