foundry-ui icon indicating copy to clipboard operation
foundry-ui copied to clipboard

Dropdown | add option to portal options outside of the component

Open aVileBroker opened this issue 2 years ago • 0 comments

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, OptionsContainer should 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)

aVileBroker avatar Jun 14 '23 22:06 aVileBroker