Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-form-select] Drop-down does not open on IE 11 after initial selection #2648

Closed
christinelang opened this issue Sep 16, 2019 · 1 comment · Fixed by #2689
Closed

[terra-form-select] Drop-down does not open on IE 11 after initial selection #2648

christinelang opened this issue Sep 16, 2019 · 1 comment · Fixed by #2689

Comments

@christinelang
Copy link

christinelang commented Sep 16, 2019

Bug Report

Description

Select field drop down in IE 11 requires two clicks to open after selecting an option.

Steps to Reproduce

  1. Click on a terra select field in IE 11 to open the drop down
  2. Select a drop down option
  3. Click on the select field again
  4. Drop down will not open unless clicked twice

Expected Behavior

Expected the drop down to open on first click.

Environment

  • Component Name and Version: terra-select-field (this is able to be reproduced on the terra site)
  • Browser Name and Version: IE 11
@nramamurth
Copy link
Contributor

nramamurth commented Oct 9, 2019

Here's the behavior I noticed that is strange on IE.

chrome-focus-issue

@StephenEsser @bjankord @dev-cprice

What does this inline comment mean? See line.

IE 11 sets document.activeElement to the next focused element before the blur event is called

Also, I have a draft PR out that seems to have fixed this issue based on the above comment and this is also something that I learned from facebook/react#3751 (comment).

Please feel free to chime in if I have to test other scenarios on other variants as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.