Skip to content

Uncaught TypeError: Cannot read properties of null (reading 'max') #255

@jgreer9514

Description

@jgreer9514

splitpane.js 112:19 - Const H = v.max <100......
splitpanes.js 73:9
Version: 4.0.4

I have a split pane with a left and right side where there is a min and max set on the left pane. Upon the drag all the way to the max it will throw an error.
Basic config:
pane 1 is limited to 20 min and 60 max.
pane 2on the right

I've tried various things with removing the min and max size, regardless of that dragging all the way to the max size it will throw an error.
----update----
I was able to make it go away by making the right hand pane size a computed property:
was the culprit.

How ever scrolling all the way to the left hand min size throws a different error:
Cannot Read properties of null (reading 'max')
splitpanes-.....js:1:3254
const q = d.max < 100... t.prevPaneSize

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions