Skip to content

Commit

Permalink
🐛 (tooltip) fix mobx issue for tooltips in the admin
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Nov 14, 2024
1 parent 452dd61 commit 9bd1fae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,9 @@ export class Grapher
@observable.ref isExportingToSvgOrPng = false
@observable.ref isSocialMediaExport = false

tooltip?: TooltipManager["tooltip"] = observable.box(undefined)
tooltip?: TooltipManager["tooltip"] = observable.box(undefined, {
deep: false,
})

@observable.ref isPlaying = false
@observable.ref isTimelineAnimationActive = false // true if the timeline animation is either playing or paused but not finished
Expand Down

0 comments on commit 9bd1fae

Please sign in to comment.