Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11593 closed bug (invalid)

Error using toggles

Reported by: jinsa85@… Owned by: jinsa85@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

If you toggle, and before the toggle ends you toggle a second time, the element maintains style elements such as the height style.

If this element at the beggining had no value for height attribute, it must be automatically calculated by the explorer. After this two toggles, this height value is no longer automatically calculated by the explorer, because it maintained a new height style value that should not be there.

After all this, if you display or hide elements inside the toggled element, then the toggled element will not resize automatically its height, because its style has now a fixed height value.

After doing the two toggles, the element should delete these temporal styles.

If i you want a visual example of this phenomenon, feel free to contact with me.

Change History (3)

comment:1 Changed 8 years ago by sindresorhus

Owner: set to jinsa85@…
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:3 Changed 8 years ago by anonymous

They send me an email telling that I didn't replied to something, but no one asked me for nothing.

I repeat the problem, there is a bug in the toggle function, it mantains some temporal style properties (such as height) when it is executed twice. The second time must be executed before the first time is finished to see the error.

Note: See TracTickets for help on using tickets.