-
Notifications
You must be signed in to change notification settings - Fork 863
[EuiPopover] Change hasArrow, position and offset defaults
#9218
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
Changes from all commits
793b84a
311056b
414e2f4
2833e77
6b46817
d5d84ce
324db24
9f9587c
38029a4
2c1dfa7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should probably remain centered as well?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good question. Right now it follows the popover default.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree too centered looks better, as you suggest, let's wait for @JoseLuisGJ's blessing 🙂
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree that initially might be following the Popover default offset, but in this case is more appropriate to center it completely IMO as well. |
mgadewoll marked this conversation as resolved.
Show resolved
Hide resolved
|
mgadewoll marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| - Updated `EuiPopover` default prop values of `hasArrow`, `position` and `offset`: | ||
| - Changed `hasArrow` to `false` | ||
| - Changed `position` to `downLeft` | ||
| - Changed `offset` to `4` when `hasArrow=false` | ||
| - Updated `EuiInputPopover` `offset` default value to `2` | ||
| - Updated `EuiTourStep` to not apply `hasArrow=true` by default when `decoration="none"` | ||
|
|




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.
maybe this looks better still centered?