-
Notifications
You must be signed in to change notification settings - Fork 842
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
A couple quick fixes to Popover and input styles #969
Conversation
- Reducing size of arrow - Fixing translate transitions - Removing old/unused styles
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.
code changes LGTM
@@ -184,14 +184,13 @@ export class EuiPopover extends Component { | |||
popover: this.panel, | |||
offset: 16, | |||
arrowConfig: { | |||
arrowWidth: 32, | |||
arrowBuffer: 5, | |||
arrowWidth: 24, |
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.
arrowBuffer
is required, even if it's set to 0
. Without it the popover won't slide over.
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.
Done
and slight tweak to animation timing
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.
LGTM, reviewed changes and tested examples; needs changelog
Cleaned up some popover styles
The transition was dependent on the supplied
anchorPosition
but that never got updated if the position of the popover had to be changed because of space. Now, it uses the same positioning side as the arrow to add the animation.Before
After
Fixed background transition on inputs - Fixes #968