Scrolling down not working when dragging an element and simultaneously adding/removing components to the form

主宰稳场 提交于 2019-12-08 06:29:51

问题


When I am dragging an element down, the form doesn't scroll down when the dragging reaches the bottom.

The reason for this may be that I am manipulating the content of the form by adding an empty placeholder component under the dragged component, and then removing and adding the placeholder each time the dragged component moves over another component. I call revalidate each time the placeholder is removed/added.

Strange thing is that the scrolling works fine when dragging upwards.

Any suggestions for what could be the cause and how I may fix it?

Thanks

来源:https://stackoverflow.com/questions/51003540/scrolling-down-not-working-when-dragging-an-element-and-simultaneously-adding-re

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!