-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Popover] Forward refs #14737
[Popover] Forward refs #14737
Conversation
Details of bundle changes.Comparing: a574657...68bf089
|
@@ -659,10 +655,6 @@ describe('<Popover />', () => { | |||
positioningStyle = instance.getPositioningStyle(element); | |||
}); | |||
|
|||
after(() => { | |||
instance.getAnchorOffset = stub().returns(anchorOffset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was c&p from following tests that stubbed instance.getAnchorOffset
differently.
@@ -331,7 +333,6 @@ class Popover extends React.Component { | |||
onExit={onExit} | |||
onExited={onExited} | |||
onExiting={onExiting} | |||
role={role} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we would want the role
on the TransitionComponent. There was no test for it nor internal usage. Change that added this is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic hasn't changed since the first commit. I'm happy to remove it 👍
06d2709
to
68bf089
Compare
Continues #14536