Feature request: Resize element with handle
See original GitHub issueIt would be nice if you could resize an element with a ‘handle’ in addition to a splitter.
For example:
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:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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.