Update contact modal - #2657
Conversation
41f249c to
013b600
Compare
e262c2f to
b945b30
Compare
niklasmohrin
left a comment
There was a problem hiding this comment.
I think the end goal should be to not use django include for modals at all; this is definitely a step in the right direction.
62de043 to
2cccadb
Compare
niklasmohrin
left a comment
There was a problem hiding this comment.
Tests look all good, some final touches:
janno42
left a comment
There was a problem hiding this comment.
- Submitting the "Request changes" modal results in a
MultiValueDictKeyError. - The modal behaves strangely on a small screen with a low Y resolution. It should be made scrollable instead of the contents being placed out of view.
| const confirmButtonExtraClass = this.getAttribute("confirm-button-class") ?? "btn-primary"; | ||
| confirmButton.className += " " + confirmButtonExtraClass; | ||
|
|
||
| const dialogExtraClass = this.getAttribute("dialog-extra-class"); |
There was a problem hiding this comment.
we use this only one time to add overflow-scroll; should we just always put overflow: scoll into the css for the confirmation modal, or does that break anything?
There was a problem hiding this comment.
Incidentally, this is my last PR where I put overflow: show into the css so that the TomSelect input does not get clipped at the confirmation modal border
There was a problem hiding this comment.
okay, let's keep it like this for now
Fixes #2129