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.

Feature request: Resize element with handle

See original GitHub issue

It would be nice if you could resize an element with a ‘handle’ in addition to a splitter.

For example: handle

In the example above, the handle would resize the element it is within in the same way as the splitter before it.

A suggestion of how it could be written:

<ReflexContainer>

  <ReflexElement>
    …
  </ReflexElement>

  <ReflexSplitter />

  <ReflexElement>
    <ReflexHandle>
      <div className="handle" />
    </ReflexHandle>
    …
  </ReflexElement>

</ReflexContainer>

I don’t believe this is possible currently, but please correct me if I am wrong!

PS, thanks for the great component library

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
leefsmpcommented, Jun 4, 2018

Here is a pen that addresses your request, let me know if you find this is enough or have questions about it: https://codepen.io/leefsmp/pen/yEeJjx

1reaction
leefsmpcommented, Jun 4, 2018

It should be possible by using a controlled custom component, but it would be a bit different than your proposed solution (behavior for end user would be the same tho). Let me work out an example for that and I will update the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resize grouped elements - Feature Requests
When a few elements are grouped, you can not resize them with the resize handles. The group gets bigger, but not the elements...
Read more >
Move Resize Handles, so that they stay on screen
It would be nice if you could either, resize an object using the entire edge as a handle, or just make the handles...
Read more >
Resize Elements with Shape Handles | Revit 2019
To resize elements using shape handles. Move the cursor over the part of the first element to resize and press Tab until the...
Read more >
[Feature Request] CDK Resizable #14897 - GitHub
Please describe the feature you would like to request. Add cdkResize (along with cdkResizeHandle) to the CDK to allow resizing of elements ......
Read more >
resize - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The resize CSS property sets whether an element is resizable, and if so, in which directions.
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