-
splitPane能不能提供一个方法,可以直接设定percent的值,以此能够动态改变paneL or paneR的值,然后以动画的形式来过渡。
我简单的看splitPane的源码, defaultPercent貌似并没有参与计算,能不能以此计算defaultPercent,然后通过方法改变这个值,来实现动态的splitPane的比例呢
-
As a VZCode user editing two files at once, I want to be able to see them side by side, so that I can easily switch, or copy-paste between them.
-
Nice work on the component, I like the flexibility it offers.
I facing one issue though. Because of [this piece of code](https://github.com/yyllff/split-pane-react/blob/main/src/SplitPane.tsx#L64-L…
-
### What Operating System(s) are you seeing this problem on?
Linux Wayland
### Which Wayland compositor or X11 Window manager(s) are you using?
KDE Plasma 5.27.8
### WezTerm version
202…
-
As per [this comment](https://github.com/naturalcrit/homebrewery/pull/2162#discussion_r869850180) on PR #2162, with the merging of that PR, the pagination function in the BrewRenderer will be duplicat…
-
I can't make the exmaple from the wiki work:
```javascript
```
```
Type '{ children: Element[]; split: "vertical"; collapseOptions: { beforeToggleButton: Element; afterToggleButton: Element;…
-
```
Change the content of one of the panes in the split pane demo so that the
container has a horizontal scroll bar.
You will see that the scroll bar height is deduced twice. This is because of a
b…
-
![image](https://user-images.githubusercontent.com/26623369/181689877-daf68015-e10d-4d67-baeb-f142f4dfd236.png)
Version details:
"react-split-pane": "^0.1.92",
"@types/react": "^17.0.44",
Not ab…
-
### 推崇组合(组合大于继承)
React有十分强大的组合模式,react也推崇了多种组合的方式来实现组件复用性和可扩展性。和 vue 的 slot 概念一致,Vue为了增强 slot 的能力,引入了很多概念和语法糖(Slots / Named Slots / Scoped Slots),但都能从 react 上找到对应实现。 React 的灵活性更高,相对给用户带来的心智负担小。
例如:…
-
Hi,
you can reproduce this error by adding class
``` css
.Pane {
padding: 10px;
}
```
to example in index.html.
Then try to resize `Pane` by dragging `Resizer`.
`Resizer` will be moved to th…