You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
RightButtons/LeftButtons on TextFields briefly disappear and reappear on click when ShowMode="Focus" #1223
The problem is within an Ext.form.field.Text and it is related to a feature (right/left buttons) specific to Ext.NET.
The following override makes the button stop hiding, but is forcing focus back to the field. This odd re-focus is happening even without the override.
<script>
Ext.override(Ext.form.field.Text, {postBlur: function(){this.callSuper(arguments);varcomponentId=this.id;// Do not hide it if the button clicked is inside the textfield.if(!event.target.id||!Ext.fly(event.target).findParent(function(dom){returndom.id==componentId})){this.setButtonsHidden(true,this.getButtonsSide(this.leftButtons&&(this.leftButtonsShowMode=="focus"||this.leftButtonsShowMode=="mouseoverorfocus"),this.rightButtons&&(this.rightButtonsShowMode=="focus"||this.rightButtonsShowMode=="mouseoverorfocus")));}else{if(!this.hasFocus){this.focus();}};}});
changed the title [-]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus"[/-][+]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus" and then reappear[/+]on Jan 15, 2016
changed the title [-]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus" and then reappear[/-][+]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="focus"[/+]on Jan 15, 2016
changed the title [-]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="focus"[/-][+]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/+]on Jan 15, 2016
changed the title [-]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/-][+]RightButtons/LeftButtons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/+]on Jan 15, 2016
Activity
fabriciomurta commentedon Jan 13, 2016
The problem is within an
Ext.form.field.Textand it is related to a feature (right/left buttons) specific to Ext.NET.The following override makes the button stop hiding, but is forcing focus back to the field. This odd re-focus is happening even without the override.
[-]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus"[/-][+]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus" and then reappear[/+][-]Right/Left buttons on TextFields briefly disappear on click when ShowMode="focus" and then reappear[/-][+]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="focus"[/+][-]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="focus"[/-][+]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/+][-]Right/Left buttons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/-][+]RightButtons/LeftButtons on TextFields briefly disappear and reappear on click when ShowMode="Focus"[/+]