Commit e76995c
fix: make dynamically loaded dots hoverable and clickable (#11)
Remove el.disabled=true/false from dot buttons — CSS pointer-events:none
on the color class already blocks unsubmitted dots; setting disabled on
a <button> blocks platform-level mouse events even after re-enabling,
which is why loadSubmittedDots-hydrated dots were non-interactive.
Unsubmitted dots now rely purely on CSS pointer-events:none + tabIndex=-1.
Submitted dots (via form submission or loadSubmittedDots) get dot--submitted
class which applies pointer-events:auto via the existing CSS rules.
Also closed inbox issues #3 (Rachel), #4 (old April), #5 (Ricky) so
only April's latest submission (#6, with public feedback) shows as a dot.
Co-authored-by: Devyani Jain <devyanijain0@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 02919104-34f1-44e8-91db-7bfd688b1b6e1 parent 2e044b2 commit e76995c
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
518 | 517 | | |
519 | 518 | | |
520 | 519 | | |
| |||
832 | 831 | | |
833 | 832 | | |
834 | 833 | | |
835 | | - | |
836 | 834 | | |
837 | 835 | | |
838 | 836 | | |
| |||
1010 | 1008 | | |
1011 | 1009 | | |
1012 | 1010 | | |
1013 | | - | |
1014 | 1011 | | |
1015 | 1012 | | |
1016 | 1013 | | |
| |||
0 commit comments