-
Notifications
You must be signed in to change notification settings - Fork 370
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
V2: DnD: slow perfomance at https://surveyjs.io/create-survey-v2 #2243
Comments
@SamMousa could you please describe that "very laggy" in greater detail to reproduce on our side. Probably we could fix it with the current approach. If not we will discuss the "pros" and "cons" of using native API with the team. |
https://webm.red/view/tRfH.webm As soon as there are a few existing question on the page it becomes very noticably laggy. |
what version of the creator you are using react or knockout? we faced with some performance problem in react version and this is not related to the implementation of the drag drop. Could you please check it with the production mode react scripts: https://plnkr.co/edit/bzCV9nGIZUB2e4OB ? |
The video was filmed on https://surveyjs.io/create-survey-v2 |
That is a lot better. Even with more questions on the page performance is very acceptable (hard to see any lag unless really looking for it and moving the mouse like a mad man) Btw, looking at the drag and drop for item sorting, I can't find a case where you actually change the drag preview. The only spot is the toolbox where you put in a question number. That part I already solved in my fiddle. |
it is ko version we will investigate it
we use it in the ranking question in the Library not in the Creator (but drag drop core is the same): https://surveyjs.io/Examples/Library?id=questiontype-ranking&platform=Reactjs&theme=modern please try to "drag over" item and see the number changes |
.
Originally posted by @SamMousa in #2236 (comment)
The text was updated successfully, but these errors were encountered: