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

Url is called when mouse hover the action #141

Closed
pgjgj opened this issue Nov 5, 2024 · 3 comments
Closed

Url is called when mouse hover the action #141

pgjgj opened this issue Nov 5, 2024 · 3 comments

Comments

@pgjgj
Copy link

pgjgj commented Nov 5, 2024

I have a mail sending action linked to a Row action and i've realized that i don't even have to click the button that the route is called by an ajax call

Capture d'écran 2024-11-06 002429

@pgjgj
Copy link
Author

pgjgj commented Nov 6, 2024

I just made some tests and seems it's a behavior that is corrected when the target key is added, even if it's to say _self

@Kreyu
Copy link
Owner

Kreyu commented Nov 6, 2024

Hey @pgjgj. At the first glance, this looks like a "prefetching links on hover" feature added and enabled by default in Turbo v8.

When I'm testing in application with Turbo v7.3, I cannot reproduce this behavior, so I think this is it, and not bundle related.

@pgjgj
Copy link
Author

pgjgj commented Nov 6, 2024

Okayy i see now. It's cool but bruh why did it activate itself on my project lol. Thanks for the answer i'll know how to adjust now

@Kreyu Kreyu closed this as completed Nov 15, 2024
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