Provide nodeRef to Transition to fix StrictMode warning (#3865)
* Update react-transition-group
* Pass nodeRef into Transition
* WIP
* fix docs build
* Remove a few ignores and explain the last remaining one
* fixing some overlay refs passed to Transition
got rid of clone children in tooltip also since it would break if wrapper existed around the tooltip component
* fixing transition for Modal and Tray
needed to provide an actual DOM ref to OpenTransition nodeRef
* actually use wrapper refs
* fixing actionbar ref to Transition
* adding wrapper to attach transition nodeRef
technically we could attach it to any DOM node in the Modal/Tray/Popover since we dont have a transition on enter, but for correctness with reflow/.scrollTop we want it as the wrapping element
* fixing rebase
* fix lint
* fix yarn.lock
* fix Tray and Modal types
* fix TS strict
For some reason, Ref doesnt break TS strict linter but RefObject does...
* adding comments
* remove ref from Underlay
Co-authored-by: Niklas Mischkulnig <mischnic@users.noreply.github.com>
Co-authored-by: Rob Snow <rsnow@adobe.com>