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

Search field position is not updated after search cancellation #4936

Closed
2 of 7 tasks
samy opened this issue Jun 2, 2017 · 1 comment
Closed
2 of 7 tasks

Search field position is not updated after search cancellation #4936

samy opened this issue Jun 2, 2017 · 1 comment

Comments

@samy
Copy link

samy commented Jun 2, 2017

Prerequisites

  • Check Select2 examples page

Steps to reproduce the issue

  1. Go on https://select2.github.io/examples.html#data-ajax
  2. Scroll to put "select" element at bottom of the page (the results will be displayed on top of the select)
  3. Make some search
  4. Cancel search by pressing Esc
  5. Click a second time on select field

Expected behavior and actual behavior

When I follow those steps, I see...
after_search

I was expecting...
sticky_search

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version: 1.11.2
  • Select2 version: 4.0.3

Isolating the problem

  • It appears only after search cancelling
@alexweissman
Copy link
Contributor

Duplicate of #4614. Please search the issues carefully before opening a new issue!

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

No branches or pull requests

2 participants