Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map和filter组合时bug #21

Open
kakachake opened this issue Nov 1, 2021 · 3 comments
Open

map和filter组合时bug #21

kakachake opened this issue Nov 1, 2021 · 3 comments

Comments

@kakachake
Copy link
Contributor

如下面这个配置,如果滚动速度过快可能导致监听不到map的键值,页面不会发生变化
class="container" tg-name="size" tg-edge="inset" tg-from="14" tg-to="20" tg-step="0.1" tg-filter="15,20" tg-map="15:14;20:25"
sm5a4-est57

@kakachake
Copy link
Contributor Author

如果页面卡顿的话,step为1都可能导致上述情况发生,不知道有没有好的解决方法😟

@stevenlei
Copy link
Contributor

确实,因为触发的点太小了。我在想这种需求会不会用你新写的域映射解决,用域映射在这个情况下就不用 tg-filter 了。

@kakachake
Copy link
Contributor Author

可以的,不过文档可能需要举些例子说明一下,不然可能会造成困惑😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants