mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 09:49:42 +00:00
If the select-kit header is not in the viewport (scrolled out of view), popper adds a data-popper-reference-hidden attribute. This PR adds the recommended styles to "hide" the select-kit body when that happens. See https://popper.js.org/docs/v2/modifiers/hide/