jQuery UI Widgets Forums Lists ListBox inconsistant results using drag & checkbox

This topic contains 7 replies, has 3 voices, and was last updated by  Hristo 3 years, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author

  • edwardsmarkf
    Participant

    hello –

    http://jsfiddle.net/edwardsmarkf/hWEnH/36/

    when we have both dragDrop and checkBoxes, the ‘select’ event is not consistently firing the first time you click a coffee name.

    however, it does consistantly fire the second or third time, in chrome, and it seems to fires the third time in firefox.

    note: the problem is inconsistent. you may need to run this several times to see what i mean.

    • This topic was modified 3 years, 7 months ago by  edwardsmarkf.

    edwardsmarkf
    Participant

    possible workaround:

    http://jsfiddle.net/edwardsmarkf/hWEnH/49/

    declare the checkboxes later on.


    edwardsmarkf
    Participant

    sorry – last workaround did not seem to fix the problem.


    Stanislav
    Participant

    Hello edwardsmarkf,

    I tried to re-create this behavior, but with no success.
    It selected(checked) the items on the first click, and I was able to drag and drop both checked and unchecked items.

    I am not sure what is causing this behavior.
    If you have more information, please tell us.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/


    edwardsmarkf
    Participant

    hello –

    http://jsfiddle.net/edwardsmarkf/hWEnH/36/

    this problem is VERY inconsistent. however, I was able to successfully duplicate the issue on both chrome-66, both on my home computer and using https://browserstack.com

    please try this (several times)
    1) http://jsfiddle.net/edwardsmarkf/hWEnH/36/ (reload page each time)
    2) click ONCE on the last character “o” in Americano (second coffee item)
    3) reload page

    it might take several attempts to reproduce the problem. it seems to happen more often with browserstack-firefox.

    NOTE: this problem started for me when i started using jQuery chaining, so i might try moving the checkBoxes:ture and allowDrag:true,allowDrop:true after the “.on” as a possible workaround.

    i know from experience that inconsistent issues are the worst issues to resolve.

    • This reply was modified 3 years, 7 months ago by  edwardsmarkf.
    • This reply was modified 3 years, 7 months ago by  edwardsmarkf.

    Stanislav
    Participant

    Hello edwardsmarkf,

    I tested the example on Chrome 66, FireFox 59, Microsoft Edge 41.
    When selecting ‘Americano’, the alert was shown and the checkbox was checked every time.
    I even changed the alert to console.log() at times to see if something different would happen and speed up the process.

    I played around with this for some time, and since nothing happens, I can not give a valid explanation of what is happening on your end.

    If you find a solution, that works fine for you, please tell us how did you do it, in case someone else runs in this kind of issue.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/


    edwardsmarkf
    Participant

    hi stanislav –

    intermittent issues are the WORST to resolve, i tell you.

    i don’t think it matters if there is an “alert” (sorry silly original option on my part) or console.log() or even nothing like this:

    http://jsfiddle.net/edwardsmarkf/hWEnH/57/ or https://tinyurl.com/markjqxwidgets

    please try again, but remember:

    1) only click the coffee ONCE – the second click consistently works
    2) you may have to reload the page several times to simulate this issue.

    the intermittent issue continues on two computers (one desktop one laptop) here as well as browserstack. maybe one out of three times, it will “ignore” the first click.

    have you ever tried browserstack? you might consider getting the free account just long enough to try this out. i wonder if you are not seeing it because of your location, close to jqxwidgets server perhaps?

    also, by any chance do you have a special “debug” version of jqxWidgets listbox, at least long enough for me to try it? if you did, that might be useful too. if you did, you could create a jsfiddle with the debug version, and i could run it on my machine & laptop to compare the console logs. just a thought.

    sorry to be such a nuisance on this. i can probably find a workaround, but i wanted to try to see if there was something that jqxwidgets might want to look at first.

    thank you for your patience.

    EDIT: if you want to, we could set up a screen-share.

    • This reply was modified 3 years, 7 months ago by  edwardsmarkf.

    Hristo
    Participant

    Hello edwardsmarkf,

    I got your case, now. I reproduce it in the FireFox.
    Thank you for this feedback. I will create a work item for this case.
    On another side, I would like to suggest you this workaround.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.