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

[HxCarousel] Demo page often throws JS error: Illegal invocation when leaving the page #904

Open
hakenr opened this issue Oct 14, 2024 · 1 comment
Labels
waiting-bootstrap Waiting for action on Bootstrap side
Milestone

Comments

@hakenr
Copy link
Member

hakenr commented Oct 14, 2024

Display /components/HxCarousel move to /components/HxCheckbox.

selector-engine.js:37  Uncaught TypeError: Illegal invocation
    at Object.find (selector-engine.js:37:60)
    at xt._getItems (carousel.js:381:27)
    at xt._getItemIndex (carousel.js:267:17)
    at r (carousel.js:319:20)
    at carousel.js:362:7
    at g (index.js:226:51)
    at HTMLDivElement.a (index.js:247:5)
    at s (index.js:71:11)
    at index.js:253:7
@hakenr
Copy link
Member Author

hakenr commented Nov 12, 2024

This happens because Bootstrap tries to complete the slid event even though the carousel no longer exists.
Unfortunately, there's not much we can do about it - this would need to be resolved on Bootstrap's end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-bootstrap Waiting for action on Bootstrap side
Projects
None yet
Development

No branches or pull requests

1 participant