Add `relatedTarget` property to `FocusEvent`
Feature Request
I have a use case when I need to know what element is being focused when another element is being blurred. The stack overflow solution below uses the relatedTarget property to do this, however this property isn't exposed by dioxus. Can we get this field?
Stack overflow solution: https://stackoverflow.com/questions/39439115/how-to-execute-click-function-before-the-blur-function/57983847#57983847
relatedTarget: https://developer.mozilla.org/en-US/docs/Web/API/FocusEvent/relatedTarget
This could be added when the target field is added to events as a ElementRef (currently called MountedData).
Is this being worked on? This is quite useful when figuring out e.g. whether to close a custom dropdown by checking which element is focused.