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

Uncaught Component already registered #49

Open
bst27 opened this issue Mar 20, 2024 · 2 comments
Open

Uncaught Component already registered #49

bst27 opened this issue Mar 20, 2024 · 2 comments

Comments

@bst27
Copy link

bst27 commented Mar 20, 2024

When starting to drag in Google Chrome 121.0.6167.160 Desktop with developer tools open and device toolbar active (=> simulating a touch device) I get a console error:

livewire.js?id=5d8beb2e:4514 Uncaught Component already registered
initComponent @ livewire.js?id=5d8beb2e:4514
(anonymous) @ livewire.js?id=5d8beb2e:8427
(anonymous) @ livewire.js?id=5d8beb2e:1844
(anonymous) @ livewire.js?id=5d8beb2e:871
(anonymous) @ livewire.js?id=5d8beb2e:871
walk @ livewire.js?id=5d8beb2e:794
(anonymous) @ livewire.js?id=5d8beb2e:869
deferHandlingDirectives @ livewire.js?id=5d8beb2e:1354
initTree @ livewire.js?id=5d8beb2e:868
(anonymous) @ livewire.js?id=5d8beb2e:816
(anonymous) @ livewire.js?id=5d8beb2e:1029
onMutate @ livewire.js?id=5d8beb2e:1029
attributes (async)
F @ @nextapps-be_livewire-sortablejs.js?v=d436e41b:112
_dragStarted @ @nextapps-be_livewire-sortablejs.js?v=d436e41b:545
setTimeout (async)
kt @ @nextapps-be_livewire-sortablejs.js?v=d436e41b:789
_onDragStart @ @nextapps-be_livewire-sortablejs.js?v=d436e41b:597
_onTouchMove @ @nextapps-be_livewire-sortablejs.js?v=d436e41b:570

I created a minimal, reproducible example: https://github.com/bst27/bug-livewire-sortable

This issue only occurs when using nested Livewire components (see commits in my example).

@eneadrian
Copy link

yeah, same here. have you figure it out?

@bst27
Copy link
Author

bst27 commented Nov 13, 2024

No, I found no solution for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants