Skip to main content

Search and Top Navigation

#7110 closed bug (invalid)

Opened March 14, 2011 06:21AM UTC

Closed November 01, 2012 09:17AM UTC

Multiple calls to effect.scale should be based on the original %

Reported by: gnarf Owned by: gnarf
Priority: minor Milestone: 1.10.0
Component: ui.effects.* (individual effect) Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:
Description

Currently, calling scale twice on an element, if you want it to grow to 150% then back to 100% you need to do this:

$("#element").effect("scale", { percent: 150 }, 1000).effect("scale", { percent: 66 }, 1000)

The second call to scale should state

 percent: 100 
IMO

Attachments (0)
Change History (6)

Changed March 14, 2011 12:26PM UTC by scottgonzalez comment:1

The problem I see with this is that any changes made by the user between the two calls to scale will be ignored.

Changed March 28, 2011 06:02PM UTC by gnarf comment:2

Not necessarily - we could use

 .data() 
to store the current "percent" of the element along with some meta-information, perhaps also detecting any changes made to the properties after our animation completed before recalculating the new values...

Changed August 29, 2012 05:03PM UTC by scottgonzalez comment:3

@gnarf is this a duplicate of #7041?

Changed October 11, 2012 02:42PM UTC by scottgonzalez comment:4

milestone: 1.9.01.10.0

Changed October 18, 2012 01:53AM UTC by mikesherov comment:5

owner: → gnarf
status: newpending

I'm fairly certain this is a dupe of #7041 as scott mentions. gnarf, any thoughts? I'm returning to pending so trac-o-bot can deal with this if you don't respond :-)

Changed November 01, 2012 09:17AM UTC by trac-o-bot comment:6

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!