Skip to content

Commit 30ea5ef

Browse files
committed
Update changelog
1 parent 4c53aaa commit 30ea5ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Victory Changelog
22

3+
## 35.4.0 (2020-11-25)
4+
5+
- [#1748](https://github.com/FormidableLabs/victory/pull/1748) - Thank you @Hypnosphi!
6+
7+
### Support for Global Events
8+
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.
9+
10+
### VictoryBrushContainer uses Global Events
11+
`VictoryBrushContainer` now uses global events in its `defaultEvents` so that brushing continues even as the user's mouse moves outside of the chart area.
12+
313
## 35.3.5 (2020-11-09)
414

515
- [#1743](https://github.com/FormidableLabs/victory/pull/1743) - Add a `role` prop for `VictoryContainer`

0 commit comments

Comments
 (0)