in partnership with mediatemple

Ticket #336 (closed defect: invalid)

Opened 10 months ago

Last modified 2 days ago

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.

Change History

Changed 8 months ago by ibolmo

  • milestone changed from Mootools version 1.2 to Mootools version 1.3

Moved for 1.3's Effects cleanup and enhancements.

Changed 2 months ago by mltsy

  • owner deleted
  • component set to Core

It looks to me like it is working and the only reason you can't see it slide in on mootools_bug1.html is that the slide element is positioned 242px from the top in a DIV that is only 80px high, and overflow:hidden.

Is there really a bug?

Changed 2 days ago by tomocchino

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.