Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of null (reading 'removeChild') #133

Open
georgebotley opened this issue Feb 3, 2022 · 0 comments
Open

Cannot read properties of null (reading 'removeChild') #133

georgebotley opened this issue Feb 3, 2022 · 0 comments

Comments

@georgebotley
Copy link

Affected Version

undefinedoffset/sortablegridfield              2.0.x-dev fff3f08 

Description

GridField has over 152 items, split across 11 pages. User is unable to drag items from page 11 through to any page number lower than 9. i.e. Moving item to page 8 fails. Error in console on attempting this is:

Uncaught TypeError: Cannot read properties of null (reading 'removeChild')
    at e.<computed>.<computed>._clear (vendor.js?m=1614547258:1:2039537)
    at e.<computed>.<computed>._clear (vendor.js?m=1614547258:1:1957167)
    at e.<computed>.<computed>._mouseStop (vendor.js?m=1614547258:1:2023251)
    at e.<computed>.<computed>._mouseStop (vendor.js?m=1614547258:1:1957167)
    at e.<computed>.<computed>._mouseUp (vendor.js?m=1614547258:1:1965213)
    at e.<computed>.<computed>._mouseUp (vendor.js?m=1614547258:1:1957167)
    at HTMLDocument.i._mouseCapture._mouseDistanceMet._mouseDelayMet._mouseUpDelegate (vendor.js?m=1614547258:1:1964394)
    at HTMLDocument.dispatch (eval at e.exports (vendor.js?m=1614547258:1:1), <anonymous>:2726:92)
    at HTMLDocument.eventHandle (eval at e.exports (vendor.js?m=1614547258:1:1), <anonymous>:2384:112)

Steps to Reproduce

  • Create GridField with lots of items
  • Move item from last page to a page mid-way into the list of pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants