gravity-ui/components

[AdaptiveTabs] Close "More" popup on resize

Marginy605 opened this issue · 0 comments

We had this logic earlier in case:

  • click on "more" (list of more items opens)
  • try to resize to small viewport
  • expectation: list of more items closes; reality: list is still opened

Need to improve code here:
https://github.com/gravity-ui/components/blob/main/src/components/AdaptiveTabs/AdaptiveTabs.tsx#L857