View Full Version : [CLOSED] some events of component "slider" are not working

17 Nov 2013, 11:29 PM
Hi all,<br>&nbsp; &nbsp; I am using component "slider" to implement a feature with extjs 4.2.1. I figured out some events like "focus", "blur".. are not working to me. But they are addressed on AIP document. Does anyone encounter the same problem? or any solution if I am going to kick something when triggering "focus" event? Thanks.

Gary Schlosberg
21 Nov 2013, 2:49 PM
Could be a bug. Can you post some code where the events are not firing as expected?

21 Nov 2013, 6:51 PM
I post some code as below, please help to check it out.


Ext.onReady(function() {


// Form

var addUserForm = Ext.create('Ext.form.Panel', {
renderTo: Ext.getBody(),
bodyStyle: 'padding: 5px 5px 0 5px;',
defaults: {
xtype: 'textfield',
anchor: '100%',
items: [{
xtype: 'slider',
margin: '0 0 0 0',
animate: false,
value: 1000,
increment: 100,
minValue: 0,
maxValue: 20000,
labelWidth: 50,
listeners: {
change: function (slider, newval, thumb) {
Ext.Msg.alert('slider','trigger slider change event');
focus: function (obj, the, e) {
Ext.Msg.alert('slider', 'trigger slider focus event');
blur: function (obj, the, e) {
Ext.Msg.alert('slider', 'trigger slider blur event');

Gary Schlosberg
21 Jan 2014, 5:15 PM
I see it now. Thanks for the report! I have moved this thread to the Bugs forum and opened a bug in our bug tracker.