foundry-ui
foundry-ui copied to clipboard
Dropdown | add option to portal options outside of the component
Check out tunnelrat for an alternative to the currently used React-Portal package
Acceptance Criteria
- New boolean prop
openOptionsInPortal - New number prop
optionsPortalUpdateInterval - when true,
OptionsContainershould be inside of a react portal, and set its position and width to match the value container - it should track the position of the dropdown if moved or scrolled, with a debounce on the tracking updates (based on
optionsPortalUpdateInterval)