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

[Fix] attachBody - reposition dropdown on message display #5186

Closed
wants to merge 1 commit into from

Conversation

AStoker
Copy link

@AStoker AStoker commented Jan 5, 2018

Resolves: #4614

  • Previous behavior: whenever a message is displayed, results are cleared out, but dropdown is not repositioned, resulting in a floating search box based off of last position.
  • Fixed behavior: when a message is displayed, reposition the dropdown
    accordingly

This pull request includes a

  • Bug fix
  • New feature
  • Translation

The following changes were made

  • Added an event listener on the container for whenever a message is displayed (using the results:message event) we reposition/resize the dropdown (due to messages clearing out results, but not taking into account new dropdown height).

Resolves: select2#4614
Previous behavior: whenever a message is displayed, results are cleared
out, but dropdown is not repositioned, resulting in a floating search
box based off of last position.
Fixed behavior: when a message is displayed, reposition the dropdown
accordingly
@AStoker
Copy link
Author

AStoker commented Jan 10, 2018

@alexweissman, you mind giving this a review?

@AStoker
Copy link
Author

AStoker commented Jan 15, 2018

Would it help if I make this PR to be merged into the Develop branch?

@BSharp94
Copy link

BSharp94 commented Jun 4, 2018

Any word on this being merged into the main branch?

@AStoker
Copy link
Author

AStoker commented Jun 11, 2018

Can't help the feeling that Select2 is dead/dying, unless a new maintainer steps up to merge PR's

@pgrunewald
Copy link

We have @AStoker's fix already in production and it's working nicely. Why the waiting? I also assume, that the maintainer have moved elsewhere and abandoned this repository.

@pedrofurtado
Copy link
Contributor

Continue discussion here -> #5196

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

Successfully merging this pull request may close these issues.

None yet

4 participants