angularjs - Chrome - Treat Document Level Touch Event Listeners as Passive -
i'm using draggable, touch responsive carousel called flickity (https://flickity.metafizzy.co/) in angular project. has been working great. of sudden, seemingly without changing code, i'm getting error in console every time touch it, , no longer responding expected.
[intervention] unable preventdefault inside passive event listener due target being treated passive
chrome has further information on error : https://www.chromestatus.com/features/5093566007214080
but don't understand error means, or why has started happening... can offer insight error means, or how should begin fix it?
the angular implementation https://github.com/benjamincharity/angular-flickity
my code (in angular 1.6) controller :
// carousel options $scope.releaseslideroptions = { initialindex: 0, contain: true, pagedots: false, prevnextbuttons: true, asnavfor: '.tracks-slider', friction: 0.4, selectedattraction: 0.1, adaptiveheight: true, }; view :
<div bc-flickity="{{releaseslideroptions}}" bc-flickity-id="release-slider" class="release-slider"> <div style="height:300px; width:300px;> slide content </div> <div style="height:300px; width:300px;> slide content </div> <div style="height:300px; width:300px;> slide content </div> </div> update strange... when roll code version know worked (by checking out older commit), no longer works, , exhibits same error! mean chrome has changed something?
Comments
Post a Comment