Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Occured "Uncaught ReferenceError" after reloading component on x-bind:class only #3177

Closed
mayanksdudakiya opened this issue Sep 27, 2022 · 0 comments

Comments

@mayanksdudakiya
Copy link

mayanksdudakiya commented Sep 27, 2022

@calebporzio With reference of #825 of Alpine issue. I am still facing this issue with the Alpine version 3.10.3. So once the page successfully loaded first time then there was no any console error but when I tried to apply any filters and filter will reload the component at that time it shows the Uncaught ReferenceError: is_theme_tab_opened_1 is not defined error. Please have a look at the below screenshots for better understanding.

Issue is happening with x-bind:class only

Dependencies

image

Code

x-data has already been defined but it still shows reference error in the browser console.

image

Browser console error

image

Inspected element with x-data already defined in
  • image

    Originally posted by @mayanksdudakiya in #2114 (comment)

    @alpinejs alpinejs locked and limited conversation to collaborators Nov 24, 2022
    @joshhanley joshhanley converted this issue into discussion #3299 Nov 24, 2022

    This issue was moved to a discussion.

    You can continue the conversation there. Go to discussion →

    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant