ebi-webcomponents / protvista-uniprot

The ProtVista tool for the UniProt website
MIT License
12 stars 6 forks source link

Variants not displaying properly due to a Javascript error in the console. #25

Closed afa32 closed 3 years ago

afa32 commented 3 years ago

Hi,

We have noticed an issue with the display of the individual variants when expanding the variant section.

This can be seen in the CodePen linked in the ReadMe.

Here, opening the variants section will show a different arrangement (and colors) compared to the corresponding page on the uniprot website.

This is possibly due to a number of Javascript issues shown in the Javascript console on the codepen page.

We would appreciate your help and advice on how to get around this issue.

afa32 commented 3 years ago

Just noticed that the codepen is pointing to an outdated version of the protvista-uniprot package from NPM.

Updating to the latest version fixed the issue.

xwatkins commented 3 years ago

Thanks for the heads up, I've updated the codepen.