Duplicate Form Loading

0
0

Dear Team,

Currently I am migrating my gizmox project to wisej and facing some form loading issues.

I have ListView on Desktop, which is attached with mouse click event. After mouse click event raised, my background code will programmatically load runtime form to get the inputs from user.

My problem in this case, sometimes application is loading more than one form i.e. event is raised more than one time.

I have observed that, user is trying to click again since first was not loaded.

It is also observed if i click more than one time within seconds the same event is also fired two times.

I have set dropDuplicateClicks : true to avoid the such things, but still facing the same issue.

 

Thanks in advance,

P Vishal

Attachment
  • You must to post comments
0
0

Add

dropDuplicateClicks: true

to Default.json

Check that your code handles the Click or Tap event, not MouseClick or MouseDown.

If you still have the issue please send  a small test case.

 

  • You must to post comments
0
0

Dear Team,

In my case this is not happening in gizmox application.
User is not forcefully trying to click twice, he is trying click again since the earlier was not executed or expected window is not loaded.
Since we are working in Banking vertical, we can not execute the single process for multiple times.

Is their any other solution to avoid such situations or any kind of optional settings at qx.js level which will solve our problem.

  • You must to post comments
0
0

Dear Team,

In my case this is not happening in gizmox application.
User is not forcefully trying to click twice, he is trying click again since the earlier was not executed or expected window is not loaded.
Since we are working in Banking vertical, we can not execute the single process for multiple times.

Is their any other solution to avoid such situations or any kind of optional settings at qx.js level which will solve our problem.

  • You must to post comments
0
0

All the click and pointer events are raised only once. If the user clicks twice the event will be raised twice like in a desktop app. If you enable dropDuplicateClicks then Wisej will drop subsequent “execute” events until the first is fully processed on the server. But it only drops the “execute” client event which corresponds to the Click event. If you process MouseClick, MouseDown, MouseUp they are fired as many times as the user clicks.

 

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.