mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 03:50:11 +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.