extjs - The whole app shifts towards left when Internet Explorer is not expanded to its whole width and length -
i have reduced length , width of ie browser window. app loads first time. have form opens on click of button on homepage. in form, if leave field invalid , click on save, code written such if there field invalid, focus on invalid field. so, ie10 browser window small, when leave field in form invalid , click on save, whole app shifts towards left inlcuding form , fields inside form. have no clue why happening. using following code focus on invalid field,
child.getel().dom.scrollintoview();
i aware there bug scrollintoview when using ie browser. can suggest me alternative scrollintoview()? in advance!
used foloowing instead of scrollintoview(), 1) field.getel().focus() focus on invalid field 2) panel.body.el.scrollto('top',0,true) scroll form top every time open it
Comments
Post a Comment