[Observability] [Exploratory view] adjust popover placement#116471
Conversation
|
Hey @dominiqueclarke , we're working on the EUI issue, but I wanted to get some clarification. I'm confused about how changing the position from "left" to "right" fixes this screenshot: Is it specifically because it omits the "top" portion of the string and so ensures that it forces it to drop down rather than up? We're considering just supplying a top level prop that enforces the "down" behavior without being able to specify left/right becuase that should be determined by the position of the start/end times. |
@cchaos Hi there! There's a few different things at play here.
Please let me know if that helps any. Happy to chat on Thursday. |
|
Thanks @dominiqueclarke for the context! I have an idea that I'm going to try to codesandbox. It would mean a little more configuration on your part, but it should negate all these problems. |
cchaos
left a comment
There was a problem hiding this comment.
While working on my idea (which we might be able to do in EUI instead) I found a really easy workaround for you. There's an isCustom prop that you can apply to the range which essentially just removes any forced props on the start and end controls. You'll just need to add a couple extra things to ensure it still renders correctly, but it will get popoverPlacement to apply right.
<EuiDatePickerRange
+ isCustom
fullWidth
startDateControl={
<EuiDatePicker
+ fullWidth
...
/>
}
endDateControl={
<EuiDatePicker
+ fullWidth
+ showIcon={false}
...
/>
}
/>cf2aa4f to
1a98850
Compare
|
Pinging @elastic/uptime (Team:uptime) |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
|
The following labels were identified as gaps in your version labels and will be added automatically:
If any of these should not be on your pull request, please manually remove them. |
…116471) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…116471) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
3 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |





Summary
Fixes #113711
Adjusts the location of EuiDatePicker popover for subsequent series in exploratory view.
This PR resolves the issue for the date range start, but not the date range end. Final resolution of the date range end popover placement is dependent on elastic/eui#5328
This PR will be removed out of draft once the above issue is merged and eui is updated in 8.0.0 and backported in 7.16.0