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

Selected element disappear when navigator zoom level isn't 100% #1610

Open
chb-dlght opened this issue Sep 16, 2024 · 3 comments
Open

Selected element disappear when navigator zoom level isn't 100% #1610

chb-dlght opened this issue Sep 16, 2024 · 3 comments

Comments

@chb-dlght
Copy link

🐛 Bug report

I notice that when my navigator zoom level isn't at 100%, any graphs selection at the first click disappear

Steps to Reproduce

  1. Change zoom level
  2. Click on a graph to select something
  3. No more selection

Expected behavior

Keep the selection at any zoom level

Actual behavior

Enregistrement.de.l.ecran.2024-09-12.a.18.43.09.mov

Versions

  • nebula.js: 5.3
  • Platform: MacOS / Window
  • Browser: Opera / Chrome / Firefox
@Caele
Copy link
Collaborator

Caele commented Nov 25, 2024

We are not sure exactly whats wrong, the video isn't entirely clear. Tried a few things with browser zoom but haven't been able to reproduce this, please provide an example

@chb-dlght
Copy link
Author

Sorry if I wasn't clear.

In the video:

  1. from 0 to 6 seconds :
  • I'm a navigator zoom level 100 %
  • I do a selection on the graph and I have a black border around my selected bar with the others who are almost transparent.
  • This is what I expect, so cool.
  1. from 6s to 13s:
  • I've changed the navigator zoom level to 110%
  • I do the same selection on the graph, but the black border disappear an all bars are almost transparent.
  • Even the filter is applied at the bottom of my page, it's seem to not be selected in the graph. That's the point.
  1. from 13s to 18s
  • I've changed the navigator zoom level to 100 % again, and everything works like I expected.
  1. from 18s to the end
  • I've changed the navigator zoom level to 90%
  • Same visual problem, my bar in chart seems to not be selected.

So I can deduce that the expected behavior of the selected chart works only at zoom level 100%.

But some of ours customers (and maybe not just ours) doesn't work that way. They increase or decrease zoom level. They are confused when they click on a bar who doesn't seem to be selected

I hope this is more clear and helpful.

@Caele
Copy link
Collaborator

Caele commented Nov 26, 2024

I tried it in a simple setup, can't really replicate the issue. From your video it seems like it flickers in first, but to dissapear quickly. Could there be some other click event used in the mashup that fails to align as zoom is applied?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants