Add title to Maybe column

This commit is contained in:
Andy Smith
2025-11-05 11:14:30 -06:00
parent 6713a97cc7
commit 3e7cd204db
3 changed files with 17 additions and 21 deletions
@@ -122,8 +122,8 @@ export default class extends Controller {
this._intersectionObserver = new IntersectionObserver(entries => {
entries.forEach(entry => {
const title = entry.target
const column = title.closest('[data-collapsible-columns-target="column"]')
const column = title.closest(".cards")
if (!column) return
const offscreen = entry.intersectionRatio === 0