You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to update alignment from prev to center after first change of panel. Is that possible, I was able to change in camera and panel but calculations are still wrong even with $forceUpdate() and resize() options
EDIT: One thing I noticed if you trigger moveToPosition but the event(example @pointerup) you gain error Uncaught (in promise) TypeError: Cannot read properties of null (reading 'offsetX') at __proto.onChange (chunk-TZM2WP5A.js?v=d192554c:5067:51) at __proto.fire (chunk-TZM2WP5A.js?v=d192554c:5302:22) at chunk-TZM2WP5A.js?v=d192554c:5518:29 at chunk-TZM2WP5A.js?v=d192554c:93:9 at Array.forEach (<anonymous>) at __proto.trigger (chunk-TZM2WP5A.js?v=d192554c:92:16) at __proto.triggerChange (chunk-TZM2WP5A.js?v=d192554c:1095:16) at loop_1 (chunk-TZM2WP5A.js?v=d192554c:2151:46) at __proto._animateLoop (chunk-TZM2WP5A.js?v=d192554c:2166:7) at __proto.animateTo (chunk-TZM2WP5A.js?v=d192554c:2062:12)
Error is at this line:
var offset = flicking.horizontal ? inputEvent.offsetX : inputEvent.offsetY;
The text was updated successfully, but these errors were encountered:
marko-mlinarevic
changed the title
In vue 3 version of Component how to update option dynamically
how to update option dynamically, and Cannot read properties of null (reading 'offsetX') if you trigger any event except click
Jul 20, 2024
We would like to check about the implementation you want.
If you want to change the alignment overall, can you try changing the align option of a Flicking instance by directly changing e.currentTarget.align?
I need to update alignment from prev to center after first change of panel. Is that possible, I was able to change in camera and panel but calculations are still wrong even with
$forceUpdate() and resize()
optionsthis is what I'm doing currently
EDIT: One thing I noticed if you trigger moveToPosition but the event(example @pointerup) you gain error
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'offsetX') at __proto.onChange (chunk-TZM2WP5A.js?v=d192554c:5067:51) at __proto.fire (chunk-TZM2WP5A.js?v=d192554c:5302:22) at chunk-TZM2WP5A.js?v=d192554c:5518:29 at chunk-TZM2WP5A.js?v=d192554c:93:9 at Array.forEach (<anonymous>) at __proto.trigger (chunk-TZM2WP5A.js?v=d192554c:92:16) at __proto.triggerChange (chunk-TZM2WP5A.js?v=d192554c:1095:16) at loop_1 (chunk-TZM2WP5A.js?v=d192554c:2151:46) at __proto._animateLoop (chunk-TZM2WP5A.js?v=d192554c:2166:7) at __proto.animateTo (chunk-TZM2WP5A.js?v=d192554c:2062:12)
Error is at this line:
The text was updated successfully, but these errors were encountered: