Remove orientation on dialog close

This commit is contained in:
Andy Smith
2025-08-18 11:08:17 -05:00
parent 78273898d2
commit bb53258286
2 changed files with 11 additions and 4 deletions
@@ -37,6 +37,7 @@ export default class extends Controller {
this.dialogTarget.close()
this.dialogTarget.setAttribute('aria-hidden', 'true')
this.dialogTarget.blur()
orient(this.dialogTarget, false)
}
closeOnClickOutside({ target }) {