javascript - In IE & Mozilla, mouse can't move the cursor or select text in input fields -
i have scratching head week find root cause of problem:
i have input fields (<input type="text">)
; in ie have click 2 times in write , in mozilla works fine. if there text in it, takes 3 clicks write text in , same problem in mozilla. after this, can't move cursor or select text mouse. tab
key works fine , cursor can moved arrow keys. same problem exists textarea
.
in chrome, works fine. more information:
- the whole html in iframe
- the problem not in focusing. on single click, gets focused on double click only, cursor shown in input fields
- i can't modify or access element outside iframe. can modify code inside iframe
- the code big can't paste here
- problem exists
<input type="text">
fields. using oi-select library. fields working fine.
before declare duplicate, here things have tried:
- i removed css element , reset inherited css not issue of css
- i not overriding mousedown function
- i tried focus on element inside iframe through jquery still problem there.
- i wrote time consuming tasks mentioned in answer, still no change in behaviour.
- i called ng-focus, ng-mousedown in elements test, functions in these events being fired properly.
Comments
Post a Comment