react split panel resize

别等时光非礼了梦想. 提交于 2019-12-07 13:08:48

问题


I am trying to create dynamically resized panels with react and foundation. I have tried react-split-pane and other similar libraries, but they are messing with the responsiveness of the page. I also tried the resize css3 property but it is not flexible as it only allows the containers to be resized only to the right and bottom and I was unable to style the resize handle to be a horizontal or vertical bar.

Any suggestion would help.


回答1:


This will be possible with react-resizeable once pull request 76 gets handled.

For now, you can grab the code from the fork.



来源:https://stackoverflow.com/questions/38225332/react-split-panel-resize

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!