[OPEN] [#901] [3.2.1] Multiple selection treefield closes automatically at each selection with 3.2.1.

  1. #1

    [OPEN] [#901] [3.2.1] Multiple selection treefield closes automatically at each selection with 3.2.1.

    Hi, we've discovered that the latest version of Ext.Net (3.2.1) behaves incorrectly on tree editors with multiple selection.

    It appears that selecting any option on the tree drop down closes the drop down at each selection.

    Look at this sample to reproduce the issue:
    https://examples3.ext.net/#/Form/DropDownField/Overview

    This is a blocking issue for us, could you pls fix this?
    Thank you!

    PS: With 3.1.0 it worked fine
    Last edited by Daniil; Sep 17, 2015 at 5:19 PM. Reason: [OPEN] [#901] [3.2.1]
  2. #2
    Hi @adrianot,

    Thank you for the report!

    Created an Issue.
    https://github.com/extnet/Ext.NET/issues/901

    The issue appears to be not reproducible in IE and Firefox. I guess you are testing with Chrome.

    Somehow, this code in TableView's handleUpdate makes the body focused in WebKit (Chrome, Safari, Opera).
    cell.childNodes[0].innerHTML = value;


    So, a DropDownField blurs and collapses.

    This override appears to help getting rid of the issue. Please try.
    if (Ext.isWebKit) {
        Ext.tree.View.override({
            afterRender: function () {
                this.callParent();
                this.el.on({
                    mousedown: {
                        delegate: this.checkboxSelector,
                        fn: function (e) {
                            e.preventDefault();
                        },
                        scope: this
                    }
                });
            }
        });
    }

Similar Threads

  1. [CLOSED] Fire Combobox Selection change event automatically
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 10, 2014, 3:33 PM
  2. Replies: 3
    Last Post: Oct 05, 2012, 11:44 AM
  3. Gridpanel Multiple Row selection
    By umitcel in forum 1.x Help
    Replies: 0
    Last Post: Aug 17, 2010, 2:11 PM
  4. Replies: 3
    Last Post: Dec 10, 2009, 10:51 AM

Posting Permissions