Skip to content

IE 9 when attempting to use to drag the scroll indicator selectize closes. #325

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

Closed
StephenDKing opened this issue Mar 10, 2014 · 12 comments
Closed

Comments

@StephenDKing
Copy link

Using the country example, when attempting to drag the scroll indicator further down to see additional selections, the entire selector closes.

image

This seems to only be the case in IE 9

@flamber
Copy link

flamber commented Mar 10, 2014

Confirmed using browserstack with IE9/Win7 on https://github.com/brianreavis/selectize.js
Can you supply a patch (IE9 hack)?

@flamber
Copy link

flamber commented Mar 10, 2014

Sorry. My bad, didn't see that this was a duplicate of #157

@eliashdezr
Copy link

This issue still appears on v0.9.0.

@sreeyashu
Copy link

Its the same case on IE10 and IE11, do we have any solution for this.
It is also not working properly on touch devices of Microsoft windows phone.

@aaronransley
Copy link

Running into issues on a node-webkit app running on Windows 7 & 8 touch enabled ultrabooks. Any update or workaround on this? I've been scouring the source but haven't had any real insights

@StephenDKing
Copy link
Author

I found this solution somewhere (#182 bottom of the page), this is fix. Our testers have confirmed it works on IE 8,9,10; starting on line 1551 you will find the onblur function, i added the following on 1555:

if (document.activeElement === self.$dropdown_content[0]) {
            self.$control_input.focus();
            return;
        }

so the whole onBlur looks like:

           onBlur: function(e) {
        var self = this;
        self.isFocused = false;
        if (self.ignoreFocus) return;
//Added SDK
        if (document.activeElement === self.$dropdown_content[0]) {
            self.$control_input.focus();
            return;
        }
   //End Add SDK
        if (self.settings.create && self.settings.createOnBlur) {
            self.createItem();
        }

        self.close();
        self.setTextboxValue('');
        self.setActiveItem(null);
        self.setActiveOption(null);
        self.setCaret(self.items.length);
        self.refreshState();
    },

@sreeyashu
Copy link

@StephenDKing - No it doesn't fix the issue.

Dear anybody has found any solution for this I have been facing this issue on surface RT as well as it doesn't allow touch scroll even. It's like a blocking issue on IE. Select 2 supports this but I always go with this because it has lot of features but if this issue is also addressed this is going to rock on all the browsers and devices as well.

@StephenDKing
Copy link
Author

Fixed my issue, maybe yours should be a new ticket.
On May 3, 2014 10:38 AM, "sreeyashu" [email protected] wrote:

@StephenDKing https://github.com/StephenDKing - No it doesn't fix the
issue.

Dear anybody has found any solution for this I have been facing this issue
on surface RT as well as it doesn't allow touch scroll even. It's like a
blocking issue on IE. Select 2 supports this but I always go with this
because it has lot of features but if this issue is also addressed this is
going to rock on all the browsers and devices as well.


Reply to this email directly or view it on GitHubhttps://github.com//issues/325#issuecomment-42108000
.

@sreeyashu
Copy link

Can you share me the code that you are using may be it can solve mine as well.

@sreeyashu
Copy link

Is it also working on touch devices to scroll the drop down portion.

@StephenDKing
Copy link
Author

Well, we don't test to win rt but it passed our testers on android chrome
and ff.
On May 3, 2014 10:43 AM, "sreeyashu" [email protected] wrote:

Is it also working on touch devices to scroll the drop down portion.


Reply to this email directly or view it on GitHubhttps://github.com//issues/325#issuecomment-42108138
.

@risadams
Copy link
Contributor

closing stale issues older than one year.
If this issue was closed in error please message the maintainers.
All issues must include a proper title, description, and examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants