infinite-viewer icon indicating copy to clipboard operation
infinite-viewer copied to clipboard

How to prevent negative scrolling

Open jkears opened this issue 3 years ago • 1 comments

I am using Rule with Infinite-Viewer and would like to ensure that I can't move beyond the initial top/left coordinates. Currently when I do, the Rule shows negative. I wish to only allow scrolling in a positive direction for both horizontal and vertical scrolling.

Is this possible?

jkears avatar Nov 06 '21 11:11 jkears

@jkears

use rangeX: [0, Infinity], rangeY: [0, Infinity]

daybrush avatar Nov 12 '21 18:11 daybrush