Open d0choa opened 3 years ago
They seem to have resolved the issue in the uniprot beta
But they are issue the isolated component not the whole Protvista
Just had a quick look at this - problem still there, but not as prominent / noticeable.
We currently use protvista-uniprot
2.8.8.
When the bug was reported, it was probably version 2.7.4.
I believe the layout of the widget in 2.8.8 is slightly different: the 3d model sits more to the right. As a result, there is a very minor overlap with our navigation bar, which only occurs for window widths in the range of around 960-990 pixels.
A newer 2.8.9 version has just been released, however this seemed to cause some issues when I tried installing it.
Recently tested a newer version of protvista-uniprot
and the issue is still present.
I believe the layout of the widget in 2.8.8 is slightly different: the 3d model sits more to the right. As a result, there is a very minor overlap with our navigation bar, which only occurs for window widths in the range of around 960-990 pixels.
Actually it appears the 3d model shows a "Model confidence" legend (that changes the layout) but only for certain genes - see for example ADORA3 vs BRAF.
The bug is caused by the element <protvista-structure>
setting the z-index to 40000:
.protvista-uniprot-structure__structure protvista-structure {
z-index: 40000;
width: 100%;
flex: 4;
}
We could try to reset that (or work around it in some other way).
The Protvista table also has the same issue, as the table head is set to a specific z-index
otvista-datatable table th {
// ...
z-index: 400;
}
However, since we removed the left-hand side navigation on the OT Platform, the issue no longer exists. It could become obvious again if for example we had a sticky top search/nav bar.
Re-assigning to @carcruz for the @opentargets/fe-team Might not need action
Hey @gjmcn , does this issue still exist with the updated prot-vista?
Problem applies to us, but also Uniprot site...