| Issue 71: | Shopping cart modal scroll bar doesn't appear when modal.rhtml is placed inside /app/views/layouts | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Copy /vendor/plugins/substruct/app/views/layouts/modal.rhtml to /app/views/layouts 2. Add 4 different products to your shopping cart What is the expected output? What do you see instead? It should show the scroll bar. The scroll bar isn't showed and you cannot checkout. What version of the product are you using? On what operating system? trunk. Ubuntu 7.10 Please provide any additional information below. Someone maybe will want to make this if wants to change style of the modal dialog (like add a new stylesheet to be available inside the modal window) The funny is that you don't need to change anything to break it. Simply copy it and it breaks, and probably you will even not notice. I don't know very well how the project styles are being used and DHTML + Javascript is a little out of my scope, but appears that getting rid of the "overflow:hidden;" body property fixes it. Tested with IE6 (inside wine) and Firefox 2.0.0.13 for Linux
Apr 5, 2008
#1
johnd...@gmail.com
Apr 5, 2008
As I said is really weird that this happens to me without changing the code, I will try with a clean working directory as even if this doesn't happens with the trunk unpatched any patch or sample can be causing it too. I can't see any logic in that, unless something in the sample that center images that I sent is doing that (it uses CSS comment hacks to work with IE), I will make some tests with the DOM Inspector.
Apr 5, 2008
I tested it again, and could not reproduce it again. I couldn't find the overflow property in modal.rhtml (the property that I saw that fixed it), and looking at cvs, its not there either and the last time that file was changed was in february. So, I think it was a bug in my Aptana environment as I found that overflow property in an older version of modal.rhtml (of the 0.951 tagged release) that was opened in that same workspace. So, appears that this overflow property really cause this problem (at least it matches its purpose), it existed in early versions of substruct (the svn doesn't have history before r4 so I don't know why or when exactly it was changed) and who knows why my environment mixed two similar opened projects. Theres nothing wrong with the trunk and nothing wrong with the patches, and this issue can be discarded.
Apr 8, 2008
(No comment was entered for this change.)
Status:
WontFix
|