PDA

View Full Version : [FIXED] 6.2.1 classic: Ext.dd.DragTracker beforedragstart > beforestart rename issue



fabricio.object
28 Dec 2016, 7:29 PM
Ext.dd.DragTracker.beforedragstart from ExtJS classic is mentioned in whatsnew documentation from 6.2.0 to 6.2.1 as being renamed to Ext.dd.DragTracker.beforestart but the API documentation nor sources match this change.

- Changelog entry (http://docs.sencha.com/extjs/6.2.1/guides/whats_new/api_diffs/621_classic_diff.html#whats_new-_-api_diffs-_-621_classic_diff_-_ext_dd_dragtracker)
- Documentation for 6.2.1 (classic) (http://docs.sencha.com/extjs/6.2.1/classic/Ext.dd.DragTracker.html#event-beforedragstart)
- Source code from docs (http://docs.sencha.com/extjs/6.2.1/classic/src/DragTracker.js.html#Ext.dd.DragTracker-event-beforedragstart)

The same source code linked above shows on Ext.dd.DragTracker.onMouseDown() that the triggered event name is still beforedragstart, and it matches the source code for ExtJS 6.2.1 we currently have here.

EDIT: there's a related forum thread from ExtJS 5.x that may have something to this: incorrect DragTracker API doc and Resizer event issue (https://www.sencha.com/forum/showthread.php?307545)

Kevin Jackson
5 Jan 2017, 3:00 PM
Thanks for the report! I have opened a bug in our bug tracker.