Skip to content
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

[Canvas] element that's visibly on the top is ignored for hover and selection in favor of occluded element #114073

Closed
monfera opened this issue Oct 6, 2021 · 2 comments · Fixed by #114346
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@monfera
Copy link
Contributor

monfera commented Oct 6, 2021

Kibana version:
Happened to see it at e9fc519 but present earlier too

Elasticsearch version:
Corresponding Dev snapshot for commit

Server OS version:
Local ES

Browser version:
Chrome 94.0.4606.61 on OS X

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):
Developer bootstrap

Describe the bug:
It's not the topmost visible element that gets activated with the mouse (or the mouse interactions are good and the visibility z-order is wrong)

Steps to reproduce:

  1. Start with an empty ES, then add the e-commerce sample dataset
  2. Go to the Canvas e-commerce example, page 2
  3. Move the glasses to where the vertical barchart is
  4. Visible z-order is clear; but hovering or selecting over the glasses will highlight or select the underlying barchart

Expected behavior:
Topmost visible should be highlighted on hover, and selected on click

Screenshots (if relevant):
z order

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
I found it while reviewing an apparently unrelated PR by @poffdeluxe #113677

@monfera monfera added the bug Fixes for quality problems that affect the customer experience label Oct 6, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 6, 2021
@monfera monfera added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Oct 6, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 6, 2021
@kibanamachine kibanamachine added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated labels Oct 6, 2021
@poffdeluxe
Copy link
Contributor

Related to: #46782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants