Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fixed position toolbar blocks the "X" close button in the modal.
See image for explanation.
Comment | File | Size | Author |
---|---|---|---|
#6 | references_dialog-close_button-2048777-6.patch | 2.45 KB | acrollet |
#4 | references_dialog-close_button-2048777-4.patch | 404 bytes | l0ke |
#2 | references_dialog-close_button-2048777-2.patch | 1.18 KB | bgilhome |
Screenshot 7:23:13 3:53 PM.png | 93.17 KB | AaronBauman |
Comments
Comment #1
hefox CreditAttribution: hefox commentedCan confirm with rubik
Comment #2
bgilhome CreditAttribution: bgilhome commentedThis seems to occur because the iframe gets some css updated when the parent window is scrolled, and the top gets set too high (10px). I've created a patch to disable scrolling parent window when dialog is open - hopefully this is suitable.
Comment #3
WorldFallz CreditAttribution: WorldFallz commentedI'm going through the issue queue now in preparation for tagging a new release. It would be great to get some eyes on bgilhome's proposed fix/patch.
Comment #4
l0keThis issue caused by jQuery UI 1.10 that comes with last jQuery Update module. The thing is that in jQuery UI 1.10 the zIndex option is removed. So dialog now has default
z-index: 100;
that is less than Toolbar has.We now have to set z-index directly in the css.
Comment #5
l0keComment #6
acrollet CreditAttribution: acrollet at roomify - online and open source reservation solutions commentedI think it's worth combining the two approaches - attached patch combines the previous two, and also sets the modal height to 85% of the window height instead of 90. (I was having the bottom go slightly off-screen)
Comment #7
aDarkling CreditAttribution: aDarkling as a volunteer commentedTried #6 with jQuery UI 1.10 on Chrome and Chrome Mobile.
I too was having a problem with a disappearing bottom. This fixed that as well.
I also like that it stops the background content from scrolling.
The code looks good.
+1 RTBC
Comment #8
WorldFallz CreditAttribution: WorldFallz commentedThis looks good and tests ok. But I'm leaning toward lowering the height even more to 75%. There's no reason a dialog box should take up the entire screen.
Comment #10
WorldFallz CreditAttribution: WorldFallz commentedCommitted #6 but with height at 75%.