Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close the Combobox, Dialog, Listbox, Menu and Popover components when the trigger disappears #3075

Merged
merged 4 commits into from
Apr 3, 2024

Commits on Apr 3, 2024

  1. add useOnDisappear hook

    This hook allows us to trigger a callback if the element becomes
    "hidden". We use the bounding client rect and check the dimensions to
    know wether we are "hidden" or not.
    RobinMalfait committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    ea31c57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d475cac View commit details
    Browse the repository at this point in the history
  3. update changelog

    RobinMalfait committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    67243b9 View commit details
    Browse the repository at this point in the history
  4. document useOnDisappear

    RobinMalfait committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    a923f0c View commit details
    Browse the repository at this point in the history