question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stopped working after 0.1.77

See original GitHub issue

Today I upgraded from 0.1.77 to latest 0.1.81 and the component just stopped working. It installs and imports fine, but the slider won’t drag anymore.

I tried looking for a changelog or some new documentation, but couldn’t find any. Were there any breaking changes introduced since February? Here’s how I’m using the SplitPane.

function ResizablePanels({
  resizing,
  panelSize,
  onDragStarted,
  onDragFinished,
  onResizerDoubleClick,
  children
}) {
  return (
    <SplitPane
      className={cn({
        'disable-pointer-events': resizing
      })}
      split="horizontal"
      defaultSize="65vh"
      size={panelSize}
      maxSize={-15}
      onDragStarted={onDragStarted}
      onDragFinished={onDragFinished}
      onResizerDoubleClick={onResizerDoubleClick}
    >
      {children[0]}
      {children[1]}
    </SplitPane>
  );
}

I can see the callbacks being called before and after drag, but the panel doesn’t resize.

Reverting back to 0.1.77 works for now.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13

github_iconTop GitHub Comments

4reactions
wuweiweiwucommented, Jul 11, 2018

released in 0.1.82!

1reaction
wavtocommented, Jul 25, 2018

Me too, I can confirm my above code works again with v0.1.82.

Many thanks @wuweiweiwu for the quick fix and @nfantone for the bug report!

Have a nice day ☀️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cant use csp 0.1.77 or newer : r/assettocorsa - Reddit
Hello all, every time I got to try to upgrade from csp 0.1.76 to anything new my game will just crash ive been...
Read more >
what does it mean? Cars won't launch... :: Assetto Corsa ...
In CM updates there is an error message that says “Assetto Corsa is obsolete (v1.16.3 is required) How do I update to this...
Read more >
Cant seem to run Assetto Corsa in 64 bit - RaceDepartment
When launching the FDR Night map with the Ferrari 488 GTB I get this error code. Im running CSP 0.1.77 which is recommended...
Read more >
Assetto Corsa PC Mods General Discussion - GTPlanet
How do I stop this? I'm new to CM CSP Sol. I'm using 176 preview 63 and want to update to the latest...
Read more >
Custom Shaders Patch - AC Stuff
... AC such a great simulator and giving us an excellent basis for our work. ... v0.1.25-preview48 (buggy, not recommended); v0.1.25-preview49 (9.14 MB, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found