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
The current implementation of the button() method in select.js uses the CSS :has() pseudo-class which isn't supported in older versions of Chrome and other browsers. This causes a DOMException when trying to find a button that has a popover element as its next sibling.
Flux version
v1.1.0
Livewire version
v3.5.17
What is the problem?
Description
The current implementation of the
button()
method inselect.js
uses the CSS:has()
pseudo-class which isn't supported in older versions of Chrome and other browsers. This causes a DOMException when trying to find a button that has a popover element as its next sibling.Error message:
CopyUncaught DOMException: Failed to execute 'querySelector' on 'Element': 'button:has(+ [popover])' is not a valid selector.
bug video :
Enregistrement.de.l.ecran.2024-12-18.a.09.06.40.mov
Code snippets
Current implementation:
livewire/flux-pro/js/select.js:270
Proposed solution :
How do you expect it to work?
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: