github FormidableLabs/victory v35.4.0
35.4.0

latest releases: v37.3.1, v37.3.0, v37.2.0...
3 years ago

(2020-11-25)

Support for Global Events

This release adds a concept of global events that are attached to window rather than to any of the elements rendered by Victory components. Global events are only supported for "parent" events that would normally be attached to svg elements rendered by Victory's containerComponents. Events that should be global can be flagged by including onGlobal in the name of the event handler. So, for example, use onGlobalMouseUp rather than onMouseUp to create a global mouse up handler.

VictoryBrushContainer uses Global Events

VictoryBrushContainer now uses global events in its defaultEvents so that brushing continues even as the user's mouse moves outside of the chart area.

Don't miss a new victory release

NewReleases is sending notifications on new releases.