box/box-ui-elements

Allow QuickSearch to pass "title" to SelectorDropdown

austindbertola opened this issue · 1 comments

Describe the solution you'd like
Need the ability to pass a node to the SelectorDropdown component used in the QuickSearch that is rendered outside of the "overlay list". The SelectorDropdown already accepts the optional "title" prop and I would like the ability for the QuickSearch to accept the same thing and pass it down.

Describe alternatives you've considered
In order to render anything in the overlay-wrapper and outside of the overlay list, I would need to create my own QuickSearch component.

Additional context
I am a Box employee

Same as before, not passing in title:
Screen Shot 2022-03-17 at 8 43 06 PM

Passing in a title node (+ custom css overrides to get the look):
Screen Shot 2022-03-17 at 8 52 20 PM

Passing in a title + custom css overrides to enable a "sticky" header when scrolling:
Screen Shot 2022-03-17 at 8 54 15 PM

changing custom css to be a "reverse-column" flex to essentially make the title a footer:
Screen Shot 2022-03-17 at 8 47 49 PM