Skip to content

MinimapInteractionConfig

Defined in: src/components/editor/Minimap/Minimap.types.ts:113

Fine-grained gesture toggles. Pass false to interactions to disable everything.

Properties

click?

optional click: boolean

Defined in: src/components/editor/Minimap/Minimap.types.ts:115

Tap outside the viewport rect → phase: 'click'.

Default

true

dragFromEmpty?

optional dragFromEmpty: boolean

Defined in: src/components/editor/Minimap/Minimap.types.ts:119

Drag starting outside the rect → immediately jumps + pans.

Default

true

dragViewportRect?

optional dragViewportRect: boolean

Defined in: src/components/editor/Minimap/Minimap.types.ts:117

Drag the viewport rect itself → phase: 'drag-*'.

Default

true