tensorflow / tensorboard

TensorFlow's Visualization Toolkit
Apache License 2.0
6.66k stars 1.65k forks source link

Can't click embedding projector points when browser is zoomed out below 66% #5679

Open nadineshmo opened 2 years ago

nadineshmo commented 2 years ago

Environment information (required)

https://projector.tensorflow.org/ website

For browser-related issues, please additionally specify:

Issue description

  1. Go to https://projector.tensorflow.org/

  2. Use "CTRL -" to zoom out until the zoom level is below 66% ---At 1080p display resolution, molecule selection fails when zoomed out to 66% or lower ---at 720p display resolution, molecule selection fails when zoomed out to 90% or lower

  3. Try to click on a point. Nothing happens when clicking

bmd3k commented 2 years ago

Interesting find, thanks. Important clarification: This is when using native browser zoom instead of the projector plugin's built-int zoom, right?

For me (Chrome on Linux, Chrome on Mac) I can't click on any point for browser zooms less than 100%. But I can click on points for browser zooms greater than 100%. The same is true when running projector plugin within a local tensorboard installation.

Follow up questions: 1) browser zoom doesn't seem to impact the size of the 3D projection at all. Are you using it to make the menu's around it smaller? Are they getting in your way? 2) have you used the projector's built-in zoom functionality (triggered with CTRL + scroll wheel)? I have no problems clicking on points using that zoom.

nadineshmo commented 2 years ago

Thanks for following up.

Yes, this is when using native browser zoom.

  1. Some users are using browser zoom to make the menus around it smaller, and some users may have a default zoom setting on their browser that's smaller than 100%. (Side note: I am using the standalone projector code in an app, which is why I am referring to users in the third person).
  2. Yes, the projector's built-in zoom functionality works. Another note: If I reduce my native browser zoom, and use the projector's built-in zoom to make the points larger, I still can't click the points which seems odd.