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

The visibility of x axis labels changes in reactive rendering #546

Closed
sehilyi opened this issue Oct 13, 2021 · 1 comment · Fixed by #547
Closed

The visibility of x axis labels changes in reactive rendering #546

sehilyi opened this issue Oct 13, 2021 · 1 comment · Fixed by #547
Labels
bug🐛 Something isn't working D1 Easy to address P5 Highest priority

Comments

@sehilyi
Copy link
Member

sehilyi commented Oct 13, 2021

The core part of the codes is located at src/App.js. Basically, you will need to (1) turn on the reactive option, (2) set ids to tracks so that they are cached, (3) change spec as you want:

Following the steps you wrote, I successfully highlighted all points that belongs to a gene. However, labels on the x-axis changes unexpectedly when the mouse hovers over different points. The following figures show this case:
image
image

Zhen

Originally posted by @zhangzhen in #497 (comment)

@sehilyi
Copy link
Member Author

sehilyi commented Oct 13, 2021

This is a bug and can be fixed by specifying id for axis tracks and title tracks internally. Will try to fix this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐛 Something isn't working D1 Easy to address P5 Highest priority
Projects
None yet
1 participant