Commit 626ca15
Add closeNow and overlay pointer-events fix (#504)
Handle immediate dialog teardown and interaction blocking: register a 'tools-dismiss' listener to call closeNow, call closeNow during disconnectedCallback, and add a closeNow() method that clears any close timeout, removes 'show' classes from overlay/container, and invokes overlay.close(). Also update CSS to disable pointer events by default and enable them only when .show is present so the hidden overlay doesn't intercept clicks.
Co-authored-by: Bryan Haberberger <bryan.j.haberberger@slu.edu>1 parent faa5424 commit 626ca15
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
79 | 95 | | |
80 | 96 | | |
81 | 97 | | |
| |||
402 | 418 | | |
403 | 419 | | |
404 | 420 | | |
| 421 | + | |
405 | 422 | | |
406 | 423 | | |
407 | 424 | | |
408 | 425 | | |
409 | 426 | | |
410 | 427 | | |
411 | 428 | | |
| 429 | + | |
412 | 430 | | |
413 | 431 | | |
414 | 432 | | |
| |||
0 commit comments