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

Zoom is lost when graph refresh #3

Closed
arsenicks opened this issue Feb 8, 2018 · 3 comments
Closed

Zoom is lost when graph refresh #3

arsenicks opened this issue Feb 8, 2018 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@arsenicks
Copy link

it's all in the title, it would be nice to stop refreshing when zoomed in, or better refresh but keep the zoom as it is!

@pmaji
Copy link
Owner

pmaji commented Feb 10, 2018

Hmmm... that's a great point @arsenicks. I'll do some googling and check on workarounds. I think the problem is that the way app refreshes work in Dash apps is by refreshing the function that constructs the layout, so whenever that happens, the zoom is also reset.

@pmaji pmaji added the help wanted Extra attention is needed label Feb 12, 2018
@theimo1221
Copy link
Contributor

#24 should fix this, by adding the freeze button

@pmaji
Copy link
Owner

pmaji commented Feb 17, 2018

This has now been fixed thanks to new improvements. Shout-out to @theimo1221 for the great freeze button. FYI @theimo1221 if you have a second, could you include a 1 or 2 line comment near the button that explains what the javascript is doing there? I'm not great at java and think most folks visiting this project will by primarily Python-literate, so that would help them a bunch.

@pmaji pmaji closed this as completed Feb 17, 2018
theimo1221 referenced this issue in theimo1221/eth_python_tracker Feb 18, 2018
As written in #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants