The purgecss plugin removes the upward class from fomantic, meaning that menus do not open upwards properly when at the bottom of the page. This MR adds this to the whitelist to resolve the issue.
purgecss
upward
fomantic