question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can I provide a callback when visible range changes?

See original GitHub issue

Thanks for the project!

Is there a way to provide a callback when the visible range changes? In my case I’m have other components that rely on knowing the visible range (e.g. the month of December in the Month view) and update if the user navigates to the next or previous months.

Digging through the source it looks like the next and previous buttons set the activeStartDate, but there is no way to be notified that the activeStartDate has changed (e.g. onActiveStartDateChange). Am I missing something? Is this a feature you or other users might find useful?

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
paulpilonecommented, Dec 17, 2017

Thanks! Updated and it’s working perfectly. Thanks for the quick turnaround!

0reactions
wojtekmajcommented, Dec 16, 2017

Fixed in 2.8.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Range Change Callback | React Virtuoso
The rangeChanged callback property gets called with the start/end indexes of the visible range. Note: the rangeChanged reports the rendered items, which are ......
Read more >
Timing element visibility with the Intersection Observer API
Our observer's callback keeps an eye out for ads which become 100% obscured and have a total visible time of at least one...
Read more >
Callbacks in Flutter Cartesian Charts (SfCartesianChart)
Here, you can customize the visible range of an axis. The onActualRangeChanged Callback contains the following arguments. axisName - specifies the axis name....
Read more >
Visible time range should have bars count of the space from ...
What I tried to do, is display a 1 day chart (with only the data for one day), and then load more data...
Read more >
Advanced Callbacks | Dash for Python Documentation | Plotly
In certain situations, you don't want to update the callback output. You can achieve this by raising a PreventUpdate exception in the callback...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found