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

Fixed #9838, dissappearing traverseUpButton #10014

Merged
merged 2 commits into from Feb 5, 2019

Conversation

jon-a-nygaard
Copy link
Contributor

Description

If Series.update is called after the user has traversed down a treemap, the traverseUpButton will dissapear. This is caused by the button is only rendered when setRootNode is called, which does not cover all scenarios. Solved by moving the rendering of the button to Series.translate.

Example(s)

Related issue(s)

@jon-a-nygaard jon-a-nygaard added this to the v7.0.3 milestone Jan 29, 2019
@jon-a-nygaard jon-a-nygaard self-assigned this Jan 29, 2019
@ghost ghost added the Review label Jan 29, 2019
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The traverse up button is now missing on sunbursts: https://jsfiddle.net/highcharts/1nruLkcm/3/. On the master it is there.

@jon-a-nygaard
Copy link
Contributor Author

@TorsteinHonsi Please see latest changes.

Sadly, for some reason the github.highcharts.com did not update the sunburst.js with the commit, but testing the demo against the local branch will show that it is working again.

@TorsteinHonsi TorsteinHonsi merged commit cd817b3 into master Feb 5, 2019
@TorsteinHonsi TorsteinHonsi deleted the bugfix/9838-treemap-traverseupbutton branch February 5, 2019 10:14
@ghost ghost removed the Review label Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treemap chart drillup button disappear after update the chart
2 participants