rowthan

Results 37 comments of rowthan

> 💯 After #7275, this would fix #9086 How to use it ? I don't think its work

照理来说哪些节点被选中是 Tree 组件内部的 state 进行管理的,修改父组件的 state 只要没有涉及到传入 Tree 的数据,Tree 是不应该被重新渲染才对的啊。

同样的情况也出现在路由跳转。 /a 路由下 为 Tree 视图,当从 /a 跳转至 /b,然后又回到 /a, 正确的情况是 /a 视图重新渲染,且功能正常,但实际情况是 视图重新渲染了,但是功能不正常了,不能正确的点击节点选择,同时存在 选择 a 无效,需要选择多次才生效;选择 a 但视图渲染 选中了b节点的情况。

同问题,暂时没找到很好办法,等官网支持吧。 一个临时解决办法:当视口大于某条件后,页面进行缩放 @media screen and (min-width:1200px) { .root-container{ transform: scale(0.5); transform-origin: top; } }

一个临时解决办法:当视口大于某条件后,页面进行缩放 @media screen and (min-width:1200px) { .root-container{ transform: scale(0.5); transform-origin: top; } }

at the time of `componentDidMount(){}`, `this.refs ` is empty. so you can not get `this.refs.x`. use `this.refs.notificationSystem` instead of `this._notificationSystem`

> 复制当前页所有笔记的导出格式希望是"纯粹的笔记",因为我通常会复制到 remnote / 石墨文档 等笔记软件中做笔记的二次加工,举个例子,当前的导出格式 > > ``` > ## [GitHub - rowthan/pagenote: 超简单的网页关键词高亮、标注SDK、能把笔记留在网页里。](https://github.com/rowthan/pagenote) > > > [让笔记留在网页里、划词高亮、摘选、复制](https://github.com/rowthan/pagenote) > > 还能做笔记,很赞 > > [应用场景](https://github.com/rowthan/pagenote) > > good > >...

https://forum.qt.io/topic/50672/how-to-keep-selection-while-adding-new-item-to-qsortfilterproxymodel/14