Closed eirik-morken closed 11 months ago
This might have been fixed in recent versions of @webviz/subsurface-viewer
. Do you know which version is included in the Python package?
Can you reproduce this in any of the storybook examples?
Just saw there is a 1.0.2 release. Does it solve the issue?
I still experience the same issue.
Not able to recreate in storybook, but as far as I can see I do not have any settings that are different from the storybook. So do not understand how it would happen.
I also see that Depth and Property have changed their position in my image compared to storybook, if that means anything.
Is there a way to manually set/tweak these values?
This used to work in dash did it not? At least I believe it has always worked in storybook.
Yes, worked in older version. Our dev webviz in radix which uses webviz-subsurface-components-0.4.15 does not have this issue.
Christophe Winkler reminded me on something that may solve this. The component has a property coords:
/**
* Parameters for the InfoCard component
*/
coords?: {
visible?: boolean | null;
multiPicking?: boolean | null;
pickDepth?: number | null;
};
Its typically used to hide of the readout panel. What is a bit confusing and poorly documented is that one also need to set "multiPicking" to true otherwise the readout will not work correctly. We should probably change this to always be true and not expose it to the user perhaps, pickDepth has a sensible default and you do not need to use this property.
Thank you, that solved the issue 🏆
Python, package version 1.0.1
We are experiencing an issue where the pointer information shows the wrong information as "Depth". The "Property" value is the correct depth, but the "Depth" value seems to say how far along the Y-axis relative to the center of the grid the pointer currently is. If you are in the middle of the grid the depth is 0. You move up along Y-axis it increases, and you move down it decreases.
Map layer code
Complete element code