Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Resize bar jumps to x=0 #15

Closed
coolworx opened this issue Jun 7, 2018 · 7 comments
Closed

Resize bar jumps to x=0 #15

coolworx opened this issue Jun 7, 2018 · 7 comments
Labels

Comments

@coolworx
Copy link

coolworx commented Jun 7, 2018

Great component! I would like to use it but in vertical, postponed mode, the resize bar jumps to the left margin of the screen. It doesn't always happen, though. If you cannot reproduce I can send you the steps. I am seeing this in Chrome/Mac.

@coolworx
Copy link
Author

Hi Martin. Are you maintaining this repo? As I said in my previous message, great component, would love to use but it's got that little annoyance which keeps me from implementing it. I don't think it will take you long to fix. I can add more detail about how to reproduce if you need...

Thx!

@martinnov92
Copy link
Owner

Hello @coolworx, yes I am maintaining this repo, I just have been busy lately, but I will try to fix this asap. Thank you

@coolworx
Copy link
Author

coolworx commented Jun 16, 2018 via email

@martinnov92
Copy link
Owner

Hello, could you please provide some example? I would like to fix this problem, but in my example it is working ok, but it is very simple example. Thank you

@josdejong
Copy link

josdejong commented Oct 4, 2018

Thanks for sharing this Splitter component @martinnov92 , it works like a charm!

I noticed this bug of the bar sometimes jumping to zero too.

To reproduce (tested on Chrome and Firefox):

  • Open the demo https://martinnov92.github.io/React-Splitters/
  • Start dragging the splitter between 1 and 2 by grabbing the icon with the two vertical lines in the middle of the splitter. The splitter jumps to the left.
  • Also reproducable by clicking on the splitter between 1 and 2 after having dragged it once a bit. Don't drag, just click. In most cases, the splitter jumps a few pixels to the left or right after clicking. When clicking the icon with the two vertical lines in the middle, it jumps to the left.

I hope this helps finding the cause of the issue.

@martinnov92
Copy link
Owner

Hello, this has been fixed in new version 1.2.0

@josdejong
Copy link

Thanks @martinnov92, I can confirm that the issue is resolved in the latest version 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants