closeMenuOnScroll
If true
, close the select menu when the user scrolls the document/body.
If a function, takes a standard javascript ScrollEvent
you return a Boolean:
true
-> The menu closes
false
-> The menu stays open
This is useful when you have a scrollable modal and want to portal the menu out, but want to Unitgraphical issues.