decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
375 stars 117 forks source link

[BUG] Problems Panel is unresponsive after opening the scratch options. #1157

Closed 1superchip closed 6 months ago

1superchip commented 6 months ago

Problems Panel is unresponsive after opening the scratch options.

Steps to reproduce the behavior:

  1. Open a scratch
  2. Go to the options panel. The page seems to reload when opening it.
  3. Attempt to click on the Problems handle.
  4. The problems panel will not respond.

The problems panel should respond when clicking it.

https://cdn.discordapp.com/attachments/897066363951128590/1220738748162117703/20240322-1419-01.8846801.mp4?ex=6610088d&is=65fd938d&hm=75cb7d2e137251cfba8ce264eb110bdd21db7c56f64257736afb05bbde8c19e0&

https://cdn.discordapp.com/attachments/897066363951128590/1220769113262260234/20240322-1617-52.9619414.mp4?ex=661024d5&is=65fdafd5&hm=ca30d0d35d7d566aa81bd37702cb7aaa25f5a3a81bc11124b55a5b1826a36200&

https://decomp.me/scratch/PdEX4

mkst commented 6 months ago
fd9d1056-2f8c52c7a5805f7b.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'minimumSize')
    at eg.resizeViews (4060-73be6f435ba6f25e.js:26:27159)
    at Object.resize (4060-73be6f435ba6f25e.js:26:35703)
    at onClick (page-5844f88db2f8536d.js:1:17210)
    at Object.aS (fd9d1056-2f8c52c7a5805f7b.js:1:71789)
    at aN (fd9d1056-2f8c52c7a5805f7b.js:1:71943)
    at fd9d1056-2f8c52c7a5805f7b.js:1:138604
    at sw (fd9d1056-2f8c52c7a5805f7b.js:1:138703)
    at sS (fd9d1056-2f8c52c7a5805f7b.js:1:139117)
    at fd9d1056-2f8c52c7a5805f7b.js:1:145260
    at oK (fd9d1056-2f8c52c7a5805f7b.js:1:92840)

Unobfuscated:

react-dom.development.js:3712 Uncaught TypeError: Cannot read properties of undefined (reading 'minimumSize')
    at Ne.resizeViews (modern.mjs:1171:37)
    at Object.resize (modern.mjs:1488:56)
    at onClick (CompilationPanel.tsx:84:52)
    at HTMLUnknownElement.callCallback (react-dom.development.js:3654:6)
    at Object.invokeGuardedCallbackImpl (react-dom.development.js:3674:45)
    at invokeGuardedCallback (react-dom.development.js:3700:124)
    at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:3709:106)
    at executeDispatch (react-dom.development.js:5894:249)
    at processDispatchQueueItemsInOrder (react-dom.development.js:5894:1136)
    at processDispatchQueue (react-dom.development.js:5894:1479)
    at dispatchEventsForPlugins (react-dom.development.js:5896:298)
    at eval (react-dom.development.js:5933:377)
    at batchedUpdates$1 (react-dom.development.js:4417:204)
    at batchedUpdates (react-dom.development.js:5156:54)
    at dispatchEventForPluginEventSystem (react-dom.development.js:5933:344)
    at dispatchEvent (react-dom.development.js:5409:1652)
    at dispatchDiscreteEvent (react-dom.development.js:5409:850)