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

Don't toggle turbo-frame[busy] when navigating _top #728

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

seanpdoyle
Copy link
Contributor

Closes #727

Add test coverage to ensure that an <a> element click or <form> element submission nested within a <turbo-frame> does not toggle [aria-busy] or [busy] on the turbo-frame if the navigation is targeting _top (with [data-turbo-frame="_top"]).

Closes hotwired#727

Add test coverage to ensure that an `<a>` element click or `<form>`
element submission nested within a `<turbo-frame>` _does not_ toggle
`[aria-busy]` or `[busy]` on the `turbo-frame` if the navigation is
targeting `_top` (with `[data-turbo-frame="_top"]`).
@seanpdoyle seanpdoyle force-pushed the frame-target-top-busy branch from bdf9517 to 6a0167f Compare September 20, 2022 18:51
@dhh dhh merged commit 335ad32 into hotwired:main Sep 22, 2022
@seanpdoyle seanpdoyle deleted the frame-target-top-busy branch September 27, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[aria-busy="true"] activates on turbo-frame element when clicking links with data-turbo-frame="_top"
2 participants