Skip to content
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

Ribbon strip renders incorrectly after changing categories #26

Open
paaatrick opened this issue Jul 23, 2020 · 2 comments
Open

Ribbon strip renders incorrectly after changing categories #26

paaatrick opened this issue Jul 23, 2020 · 2 comments
Assignees

Comments

@paaatrick
Copy link
Contributor

Here is a code sandbox with an example:

https://codesandbox.io/s/kind-dan-9q8y0?file=/src/index.js

The data object defines one subject with data only in the GO CC category. The initial display looks correct.

If you check the "Show only GO CC" checkbox, two of the categories are filtered out of the original data object. In the display, those categories go away. This still looks correct.

Now, if you uncheck the "Show only GO CC" checkbox, the original data object is used again. All three categories are displayed, but you can see that several of the anatomical structure cells are now filled in. This is incorrect.

@lpalbou
Copy link
Contributor

lpalbou commented Jul 23, 2020

It's a weird bug but I never tried to filter only the categories part of the json.

I will look into it but was it just for testing or do you have a requirement / deadline for this one ?

@lpalbou lpalbou self-assigned this Jul 23, 2020
@paaatrick
Copy link
Contributor Author

It's the cause of bug that's currently out on the production Alliance site (see AGR-2334). Someone on the expression group pointed that behavior out to me. Ideally it can be fixed in the 3.2.0 timeframe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants