mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 02:53:10 +08:00

To decide to use flip behavior select-kit will check if it's located inside a modal as a modal will scroll if overflown, however, when locating the select-kit element in the footer or header this is not the case. This commit will deactivate `flip` modifier only when used inside modal body.