Skip to main content

setCanvasOverflow

Description​

Updates the overflows needed to ensure the smooth scrolling can reach the "end" at the desired position. Without these overflows we might not have enough scroll space and we cannot reach a "sticky cursor" behavior.

setCanvasOverflow(canvasElement: IContainer, overflow: number, isVertical: boolean): void
ParameterSummary
canvasElementAll

The canvas element.

overflowAll

(no description)

isVerticalAll

Whether we have a vertical or horizontal overflow