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

[BUG]当设置结束日期为23:59:59时拖动滑块,日期会自动增加 #101

Closed
Charbo23 opened this issue Jun 20, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Charbo23
Copy link

默认情况下滑块的最终日期是0点,导致滑块无法覆盖最后一天,所以我初始化数据时将滑块的结束日期改为了23:59:59,展示上没有问题。
按住滑块中间位置进行拖动时,正常是将日期整体移动,日期间隔不变,但上述情况下,拖动会导致鼠标按下时日期立即增加了1天,拖动过程中是正常,再次按下又会增加1天
详见下图:
甘特图bug

@Charbo23 Charbo23 added the bug Something isn't working label Jun 20, 2024
@xpyjs xpyjs closed this as completed in 40ff1ad Jun 21, 2024
xpyjs added a commit that referenced this issue Jun 21, 2024
@jeremyjone
Copy link
Collaborator

update to v2.1.10

确实,因为移动时,我复用的左右方法,它们分别判断的,导致了这个问题

@Charbo23
Copy link
Author

好的,非常感谢

update to v2.1.10

确实,因为移动时,我复用的左右方法,它们分别判断的,导致了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants