-
Notifications
You must be signed in to change notification settings - Fork 56
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
Comments
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 |
Sorry if I wasn't clear. In the video:
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. |
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? |
There is no click event to interfere, sorry. I hope it's help. Thanks. |
Can you elaborate a bit on The We recently simplified this in the latest release, but its possible in older versions as well: const viz = await emebed.render({
element: chartRef.current,
//id: objectId,
type: 'barchart',
fields: ['[10k Five Length Dimension]', '=rand()'],
onRender:: () => {
// do whatever is needed when rendering is done
},
}) Pre-5.8.1: const viz = await emebed.render({
element: chartRef.current,
//id: objectId,
type: 'barchart',
fields: ['[10k Five Length Dimension]', '=rand()'],
options: {
onInitialRender: () => {
// do whatever is needed when rendering is done
},
}
}) |
🐛 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
Expected behavior
Keep the selection at any zoom level
Actual behavior
Enregistrement.de.l.ecran.2024-09-12.a.18.43.09.mov
Versions
The text was updated successfully, but these errors were encountered: