Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: null is not an object (evaluating 't._observer.release') #188

Closed
taidaid opened this issue May 31, 2022 · 2 comments
Closed

TypeError: null is not an object (evaluating 't._observer.release') #188

taidaid opened this issue May 31, 2022 · 2 comments
Assignees
Labels
🔖3.x v3.x~ related issue 🐛Bug

Comments

@taidaid
Copy link

taidaid commented May 31, 2022

Description

I am seeing an issue in my Sentry logs from @egjs/axes/dist/axes.esm. The error is reported as null is not an object (evaluating 't._observer.release').

My app is using "@egjs/vue-flicking": "4.7.3",

./node_modules/@egjs/axes/dist/axes.esm.js in apply at line 2759:13

          _this._detachWindowEvent(activeEvent);
          activeEvent.onRelease();
 -->     _this._observer.release(_this, prevEvent, [0, 0]);
        };
        this.element = $(el);
        this.options = __assign({
          inputType: ["touch", "mouse", "pointer"],

Steps to check or reproduce

I don't have reproduction steps sadly, but it does seem to be limited to iOS 14 and 15. I've seen Facebook, Google, and Mobile Safari apps listed.

It seems to occur when a user moves from a page which has a vue-flicking instance to a page without.

@malangfox malangfox added 🐛Bug 🔖3.x v3.x~ related issue labels Jun 1, 2022
@malangfox malangfox self-assigned this Jun 1, 2022
@malangfox
Copy link
Contributor

Hello @taidaid.

This seems to be a bug that occurred as the major version of Axes changed from Flicking version 4.7.0.
We will try to reproduce this error and then fix it. And after the error is fixed, We will leave a comment.
If you are not using the nested option, you can temporarily resolve this problem by using version 4.6.2.

Thanks for reporting the issue.

@malangfox
Copy link
Contributor

The recently released version of Flicking 4.9.1 has been changed to use the latest version of Axes, and the error you have left may has been resolved.
Try using Flicking version 4.9.1 and if the problem persists, please contact us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖3.x v3.x~ related issue 🐛Bug
Projects
None yet
Development

No branches or pull requests

2 participants