Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .changeset/open-rocks-move.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/dvz-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @devgateway/dvz-ui-react

## 1.9.5

### Patch Changes

- [#269](https://github.com/devgateway/data-viz-ui/pull/269) [`a4cd716`](https://github.com/devgateway/data-viz-ui/commit/a4cd71672a7cfee8c1a317d43327ae2361ec0f91) Thanks [@timothygachengo](https://github.com/timothygachengo)! - Fix chart tooltips extending off-screen near the edges of the viewport, on both desktop and mobile. Tooltips are now clamped to stay within the visible viewport bounds instead of relying solely on the chart library's own (container-relative) positioning.
- `Tooltip.jsx` (used by Bar, Line, Pie and Bump charts) and `ChartTooltip.jsx` (used by GroupedBars and Sankey) now measure the rendered tooltip and nudge it back on-screen if it overflows the left, right, top or bottom edge of the viewport.
- The manual d3 tooltip in `LineLayer.jsx` (line-over-bar overlay) is clamped the same way instead of always positioning itself using unbounded `pageX`/`pageY` offsets.

## 1.9.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dvz-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devgateway/dvz-ui-react",
"version": "1.9.4",
"version": "1.9.5",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
Expand Down
Loading