Project

General

Profile

Actions

Task #1324

closed

Autocomplete in IE removes characters

Added by Vladimír Kotýnek over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Frontend
Target version:
Start date:
10/16/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Affected version: 9.2.0
CzechIdM in IE 11.
In any form with select box wirth autocomplete function when I start typing, autocomplete removes some characters I wrote. E.g. I type "CzechIdM" and in the field the letter "e" vanishes after "ch" appears.
V.K.


Related issues

Related to IdStory Identity Manager - Defect #1329: Strange behavior in IE 11RejectedVít Švanda10/17/2018

Actions
Actions #1

Updated by Ondřej Kopr over 5 years ago

  • Subject changed from Autocomplete in EI removes characters to Autocomplete in IE removes characters
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Target version set to Morganite (9.2.2)

Please you are best fotr this.

Actions #2

Updated by Ondřej Kopr over 5 years ago

Actions #3

Updated by Vít Švanda over 5 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Vít Švanda over 5 years ago

  • Main problem is in the react (truly in the IE11).
  • I tried to update react to version 16.x but that is big task (totally incompatible). I created separate task for it #1330.
  • Problem should was fixed partially in the react 15.6.x, but it not worked for me.
  • Probably is here combination of more problems -> I will continue with async wait on typing...
Actions #5

Updated by Vít Švanda over 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Ondřej Kopr
  • % Done changed from 0 to 90

I found solution, I had to make two fixies:

  • Upgrade react and react-dom from 15.4.1 to 15.6.2.
  • Improving the SelectBox component. When user typing, component will waiting (200 ms) before start searching (send request to BE) now.
  • I tested it in the IE11 and Chrome.
  • Beware, basal library had to be updated (but only minor version), so good testing is needed!
Actions #6

Updated by Ondřej Kopr over 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Vít Švanda
  • % Done changed from 90 to 100

I simulate the issues with virtual and IE11 and Firefox firefox its little bit faster and working with it is smoother than IE11, but both works well. Thank you for add waiting into selectbox. Your code changes are very well described.

Actions #7

Updated by Vít Švanda over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF