Skip to content

Select2 jumps when opening to the top

Summary

The bottom margin of a Select2 dropdown changes as it seems based on the scrolling position. This may be an upstream bug.

Steps to reproduce

  • edit merge request
  • open target branch dropdown
  • scroll page
  • open target branch dropdown again

What is the current bug behavior?

Bottom margin changes:

select2-bottom-margin

What is the expected correct behavior?

Bottom margin stays the same.