Ajax-Bootstrap-Select icon indicating copy to clipboard operation
Ajax-Bootstrap-Select copied to clipboard

Fix dropdown margins

Open Folkman opened this issue 6 years ago • 1 comments

Description (required)

This solves the issue resulting from the virtualScroll option of bootstrap-select that adds top and bottom margins to the inner dropdown in order to simulate a long list without loading all the option elements in the DOM. When performing another search that is shorter, the margins need to be reset.

Screenshots (optional)

Before screen shot 2018-07-24 at 3 36 00 pm

After screen shot 2018-07-24 at 3 36 50 pm

Closes Issue (optional)

Closes #156

Merge checklist (required, for maintainers only)

This pull request adheres to the following requirements:

  • [] JavaScript follows 4 space indentation conventions.
  • [] JavaScript was written using ES2015 (ES6) features.
  • [] Features and bug fixes are covered by test cases.
  • [] All commits follow the AngularJS Git Commit Message Conventions.

Folkman avatar Jul 24 '18 19:07 Folkman

Please base PRs agains the dev branch.

markhalliwell avatar Sep 23 '19 22:09 markhalliwell