Ticket #988 (new defect)
Opened 2 weeks ago
Scroller with onChange event.
| Reported by: | standerby | Owned by: | |
|---|---|---|---|
| Type: | defect | Priority: | major |
| Milestone: | Mootools version 1.2 | Component: | Plugins |
| Keywords: | Scroller onChange | Cc: |
Description
If a scroller is created as var scroll2 = new Scroller('mousemove', {area: 100, velocity: 1 ,onChange: function(x,y){$('test').value=x.toString()+";"+y.toString();}}); the scroller wont' work properly. In Firebug the following line (var el = this.element.getSize();) always returns el.scroll.x=0 and el.scroll.y=0. It returns correct values without onChange event.
Note: See
TracTickets for help on using
tickets.