design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

IE11: clicking on Lookup menu scrollbar dismisses the menu.

Open minevskiy opened this issue 10 years ago • 8 comments

To repro in demo app:

  1. In IE11, open Lookup page in demo app
  2. Open the menu of the second lookup ("Account")
  3. Click on menu scrollbar to scroll down
  4. Observe that menu is dismissed.

The same issue used to also happen in Chrome and Firefox, but was fixed.

image

minevskiy avatar Mar 11 '16 23:03 minevskiy

@minevskiy SLDS doesn't support IE11 but do you know if this bug still exists in Edge?

donnieberg avatar Feb 22 '17 21:02 donnieberg

It works in Edge, but I'm surprised IE11 is not supported by SLDS. Lightning interface in core will support IE11 until the end of 2017.

minevskiy avatar Feb 22 '17 22:02 minevskiy

whoops, you're right! I just checked it again, and they're now supporting IE11. I'll look into this bug. Thanks, Ivan!

donnieberg avatar Feb 22 '17 23:02 donnieberg

FYI - I am seeing the issue happening on other browsers as well, including chrome and safari.

qyiming avatar Jul 18 '17 17:07 qyiming

This is most likely a side effect of https://github.com/Pomax/react-onclickoutside which detects clicks outside an element and closes the menus.

interactivellama avatar Jul 18 '17 22:07 interactivellama

@interactivellama good mentioning of react-onclickoutside. lookup component does not use react-onclickoutside, and it closes the menu dropdown list whenever onblur event is triggered, that's the bug.

qyiming avatar Jul 19 '17 01:07 qyiming

Closing all Lookup and Picklist issues. Please re-create for combobox if issue still exists.

interactivellama avatar Oct 20 '17 16:10 interactivellama

Maybe some area detection on mouse down would fix this if there are still issues. https://stackoverflow.com/posts/33799265/revisions

interactivellama avatar Aug 10 '18 19:08 interactivellama