Skip to content

Trying to resize panel throws getBoundingClientRect 0.5.1 #187

@dan83g

Description

@dan83g

I use React-Spaces on various pages. When I resize the page on the first page, everything works fine, but when I navigate to another page and resize it, this error occurs. This only happens with TopResizable and BottomResizable.
Uncaught TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')
React 19 and react-spaces 0.5.1

     <Spaces.Fill>
        <Spaces.LeftResizable>
          <div/>
        </Spaces.LeftResizable>
        <Spaces.Fill>
          <Spaces.Fil>
            <div/>
          </Spaces.Fill>
          <Spaces.BottomResizable>
            <div/>
          </Spaces.BottomResizable>
        </Spaces.Fill>
      </Spaces.Fill>

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