Ticket #336 (closed defect: invalid)
Fx.Slider - Can't slide an object with position relative and top
| Reported by: | kenjin@… | Owned by: | |
|---|---|---|---|
| Type: | defect | Priority: | major |
| Milestone: | Component: | Core | |
| Keywords: | Cc: |
Description
I have found that when a div is nested within another div and the inner div is position relative with a css top property, when you create a new Fx.Slide object the inner div is immediately hidden and cannot be recovered.
I have a demo of this problem at
http://www.kenjinx.com/mootools_bug1.html
It should look similar to the demo at
http://www.kenjinx.com/slide_example.html
Only that I have tried to reduce it to the simplest problem, so less css and no borders. Note that I have managed to get it to display in the slide_example.html by having a transparent spacer div rather than using the top property.
The problem manifests itself in mootools revision 743 and in Safari and Firefox.
If you need more help and/or information let me know.