Added a useLayoutEffect to dynamically position the account filter
dropdown using the button's bounding rect, ensuring it's properly
aligned and does not overflow the screen
Used createPortal to render the dropdown in the document body, which
resolves z-index issues and simplifies managing the dropdown's fixed
positioning
Added a new buttonRef for handling button measurements and tracking
These changes enhance the dropdown's usability and accessibility
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.