fix(list): Removed unnecessary setTimeout method for focusOut event.
FocusEvent.relatedTarget is the secondary target that is receiving focus in focusOut event. So we can use this EventTarget to find out whether the focus is inside the root.
Thanks for this PR! Do you happen to know whether this behavior is consistent across browsers? My main concern is ensuring that relatedTarget can be used on all of our supported platforms.
Thanks for this PR! Do you happen to know whether this behavior is consistent across browsers? My main concern is ensuring that
relatedTargetcan be used on all of our supported platforms.
Don't know about IE. But it is consistent in Chrome and Firefox.
microsoft gives up IE, so we can give up it too. can we solve PR?