Sincenir

Results 11 comments of Sincenir

我这里 iphone xr 小米10 也都有这个问题。 开发者工具里正常。

我这里仔细研究了一下,其实不只是光标卡顿的问题,它会导致新输入的内容覆盖掉之前输入的内容。 我猜测是事件代理出了问题,我不知道 taro 是通过的什么处理的事件,感觉是 input 事件调用延迟,导致前一次输入还没有响应后一次的输入已经被调用。 这将会导致新的事件调用读取的是上上次的 value 数据,进而导致 value 更新出现问题。 @Chen-jj

> 我使用楼主的demo 没有复现,可以设置`Taro.options.debug = true`后查看`setData`的数据值有没有问题 使用 input框,通过快速输入数字。 @Chen-jj 您可以拉去我的组件库尝试是否可以复现问题: npm install taro-ui-sincenir 使用方法和taro-ui相同。 import { SiInput } from "taro-ui-sincenir"; import "taro-ui-sincenir/dist/styles/radio.less"; import "taro-ui-sincenir/dist/styles/input.less"; handleChangeValue(v)} />

> > > 这个问题早期在使用taro-ui就发现了,当时没有办法,只能自己通过taro-ui的className结合components的Input自己重写了一个独立的Input组件,通过不在组件内部使用state,直接操作ref的value来解决。 > > > > > > taro-ui和taro的Input 应该都是基于微信原生Input封装的,都会有这个问题。我的场景是列表里渲染很多个Input,每个Input的更新值放到redux里。数据量越大问题越明显,不知道是不是组件重新渲染造成的。 > > 其实就是用state改变input的value会出现这个情况,你倒是可以试试用input的ref直接设置value来试看能否改善 我大概懂了问题的来源。 我想请问一下您是 taro 的开发者吗? 该问题再可预期的未来,暂未有更好的解决方案吗?

> > > 我用楼主的demo没有复现,可以设置`Taro.options.debug = true`后查看`setData`的数据值有没有问题 > > > > > > 使用输入框,通过快速输入数字。@Chen-jj您可以拉去我的组件库试试是否可以复现问题: npm install taro-ui-sincenir 使用方法和taro-ui相同。导入“taro-ui-sincenir/dist/styles/radio.less”;导入“taro-ui-sincenir/dist/styles/input.less”; > > handleChangeValue(v)} /> > > @Sincenir使用你的demo,在iPhoneX上一样没有恢复。 > > ```js > import {...

> If you can reproduce with vanilla A-Frame I'm happy to look at it but from your description it looks a Svelte integration issue that I don't have experience with....

> I have the same issue with A-Frame 1.5 and SvelteKit this is a compatibility issues unique to svelte. I may try to fix the submitted code in the future....

> WebXR support on desktop is sadly very unreliable (see #4709). It really only works with a Chromium based browser (with WebXR compiled/enabled) and a properly setup OpenXR runtime. There...

> Yeah WebXR on desktop is unfortunately not a viable target at the moment. Neither Microsoft nor Google have resources dedicated to it. Many quirks and bugs remain unaddressed for...

> [Playground of the issue](https://svelte.dev/playground/hello-world?version=5.33.14#H4sIAAAAAAAACrVWTW_bMAz9K5xawCng2m2OqZNt2A7DgG6H9Tbv4Nh0ok2WDIleGxj-74Pkj9ht0jYbdgpC8ZEi3xPpmsmkQLZgn1AIBfdKiwxmmHHC7IL5LOcCDVt8rxntSutnDczvUe_LMjC_UZC1rRODh-ypkoSSDFuwyKSal7SKZUy8KJUmqCHVmBDeqiwR0ECuVQFeEBb2fxfEuxkB7tDQhy0XmUZ5PbhPrEdhqiiVREk-1KBKlKN8t4_zyZhSJQ1BoTIUsBzfc3bReZxjnmNKs9kFLFdQW1MLUwIDoTYzz6E9v43iYNTYnyjc90JG64pIuYhKpoKnv5b1JKS97GwcollZUxT2wFUso0mJrsf1mZG8LJEg7XrTBWnasNG0mbU7bCBswWEHbuxtp8GZzwgfiC1IV9j4R-Qx7ulUII9OnkoERCI3y5iRiZntXSXQXUrYWiqtURIs4dxQQjiwgQ-O6rySKXElYdS1gZsB2xlicg7tn6Zt7uFoqVAGZwciVTLDnEvMevSU26cFTfWv5Ec0pNVuUONUhbbkPmdHlctj6y-1Ks1Q_xDpGT1mXS5CQ94xPdZnPO_b_DZoVWE9ozeXl4BaKw0qTSttYIsafaAtN8AN4AOmFWEG91uUQFsEnoPZqkpkkAiNSbaDIvmFwAnyRJgdXF62WnunUWao9zrtsgeDXuuQ583rdHdoGEz1d8TjeR2eQNuhYTU_OKzmwVG2B2EeoPrlwbP2fPj87euXwJDmcsPzXfcURqSfKpq0HwBwfVQ7kSkTuWpHSeDeZxOFzuZOpx3ZT5zTmZ2_yOz8PzJbt_PguQ3Su9pKoIZbt0f2_vYFvob8xcS0aOPcnKKLMGxfKGm-2aA27mW6Z9ye8xxmI75guVyCZ6p1wYkw8y760TcVjkG64wWq6lG2LpKD9xgfrq-urv5NcvO_kNzrVDX-1gh-mqmgnh6OtPRkR4y_Edq6LKddW_t95XHJu-ErY9JIlZZ9Eza9-37TDC7OftOtKr9Fx9R3eu_epxtx2KNcA29i-WiS_vAZJVzcc5mxhZ3M2PwBMeAHJxsKAAA=) > > It seems that the effect inside `TestChildren2.svelte` does kick off the chain that leads to the error. It closes the modal, and then...