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
"change" event fired too much on VirtualSelectBox #9071
Comments
The three change events happen upon the call to setModel(). Once all is If you add the listener after the setModel() call, the three initial events I guess the setModel() generates an event for each element added to the On Mon, 27 Jun 2016, William Oprandi wrote:
Oetiker+Partner AG tel: +41 62 775 9903 (direct) |
I did a lot of hacking to avoid such problem (event being generated with On Mon, Jun 27, 2016 at 4:19 PM, Fritz Zaucker notifications@github.com
Slah Lachtar |
@zaucker Yeah I could do that but it's not very conceivable since I need a fired event for the default selection. |
IMHO this is a bug because the selection property is a
|
@johnspackman Looks nice, but I can't find the master playground URL to check |
I'd forgotten that there is one, cajus set one up on http://qooxdoo.github.io/devel/playground I've just checked though with http://tinyurl.com/hm7p8qa and while it's an improvement it's still wrong. Here's the output:
it shows that "a" was added twice and then removed, when there should be one added for "a" and that's it. |
Strange, I applied the patch for my app and event fires only once now. |
I found that sample app triggers the problem on master |
Thanks for your help |
…ction-event This fixes issue #9071 where events are fired incorrectly during startup
Fixed with 3bc6ebe |
Hi,
Check this example : http://tinyurl.com/hjol7rx
The event "change" is fired 3 times instead of once
The text was updated successfully, but these errors were encountered: