Skip to content
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

Why is disabled select2 dropdown still focusable? #5549

Closed
engin-can opened this issue Jun 27, 2019 · 2 comments
Closed

Why is disabled select2 dropdown still focusable? #5549

engin-can opened this issue Jun 27, 2019 · 2 comments
Labels

Comments

@engin-can
Copy link

Hi,

I was wondering why select2 dropdown is still focusable when it is disabled? I have never seen this behaviour with other disabled elements (i.e. bootstrap elements) before. What's the idea behind this?

@ivaynberg ivaynberg added the 4.x label Jul 15, 2019
@kevin-brown
Copy link
Member

Duplicate of #4695.

@davidabsilva
Copy link

Hi,

I've dealt with that same question. @kevin-brown the issue you linked is about being able to open the select when disabled. The issue @fbengo is reporting, is about granting the focus class when the select is disabled.

Is this the desired behaviour?

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

No branches or pull requests

4 participants