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
<scriptsrc="https://www.skypack.dev/view/@hotwired/turbo"></script><form><buttontype="button" popovertarget="test">Pop in a form</button><divid="test" popover>Test</div></form><buttontype="button" popovertarget="test2">Pop not a form</button><divid="test2" popover>Test2</div>
In Safari (Version 17.3.1) The button in the form does not trigger the popover.
My guess is the turbo form is catching the button event and not allowing it to bubble up to the browser.
Firefox and Chrome work as expected.
The text was updated successfully, but these errors were encountered:
leevigraham
changed the title
button with popovertarget not triggering in form
button with popovertarget not triggering in form (Safari 17)
Apr 17, 2024
Given the following code (https://codepen.io/leevigraham/pen/RwOYEGM):
In Safari (Version 17.3.1) The button in the form does not trigger the popover.
My guess is the turbo form is catching the button event and not allowing it to bubble up to the browser.
Firefox and Chrome work as expected.
The text was updated successfully, but these errors were encountered: